diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 94c16a8..0e6d91d 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -3,6 +3,7 @@ { imports = [ ../../modules/home/desktop/hyprland + ../../modules/home/programs/barrier.nix ../../modules/home/programs/common.nix ../../modules/home/programs/firefox.nix ../../modules/home/programs/kitty.nix diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index b33e8a6..b684f47 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -11,6 +11,7 @@ ../../modules/system/programs/thunar.nix ../../modules/system/programs/virtualization.nix ../../modules/system/utils/common.nix + ../../modules/system/utils/docker.nix ../../modules/system/utils/fprint.nix ../../modules/system/utils/garbage-collection.nix ../../modules/system/utils/locale.nix diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 5bfeb11..6a61a4f 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -3,6 +3,7 @@ { imports = [ ../../modules/home/desktop/hyprland + ../../modules/home/programs/barrier.nix ../../modules/home/programs/common.nix ../../modules/home/programs/firefox.nix ../../modules/home/programs/git.nix diff --git a/modules/home/programs/barrier.nix b/modules/home/programs/barrier.nix new file mode 100644 index 0000000..db00051 --- /dev/null +++ b/modules/home/programs/barrier.nix @@ -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 []; +}