Added barrier

This commit is contained in:
xeovalyte 2024-03-26 19:30:12 +01:00
parent be4540cc58
commit 7504fa4f48
No known key found for this signature in database
4 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../modules/home/desktop/hyprland ../../modules/home/desktop/hyprland
../../modules/home/programs/barrier.nix
../../modules/home/programs/common.nix ../../modules/home/programs/common.nix
../../modules/home/programs/firefox.nix ../../modules/home/programs/firefox.nix
../../modules/home/programs/kitty.nix ../../modules/home/programs/kitty.nix

View File

@ -11,6 +11,7 @@
../../modules/system/programs/thunar.nix ../../modules/system/programs/thunar.nix
../../modules/system/programs/virtualization.nix ../../modules/system/programs/virtualization.nix
../../modules/system/utils/common.nix ../../modules/system/utils/common.nix
../../modules/system/utils/docker.nix
../../modules/system/utils/fprint.nix ../../modules/system/utils/fprint.nix
../../modules/system/utils/garbage-collection.nix ../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix ../../modules/system/utils/locale.nix

View File

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../modules/home/desktop/hyprland ../../modules/home/desktop/hyprland
../../modules/home/programs/barrier.nix
../../modules/home/programs/common.nix ../../modules/home/programs/common.nix
../../modules/home/programs/firefox.nix ../../modules/home/programs/firefox.nix
../../modules/home/programs/git.nix ../../modules/home/programs/git.nix

View File

@ -0,0 +1,15 @@
{ pkgs, hostName, ... }:
{
services.barrier.client =
if hostName == "xv-desktop"
then {
enable = true;
}
else { enable = false; };
home.packages = if hostName == "xv-laptop" then with pkgs; [
barrier
] else [];
}