nix/modules/home/programs/barrier.nix

16 lines
249 B
Nix
Raw Normal View History

2024-03-26 19:30:12 +01:00
{ pkgs, hostName, ... }:
{
services.barrier.client =
if hostName == "xv-desktop"
then {
2024-03-26 19:39:08 +01:00
enable = false;
2024-03-26 19:30:12 +01:00
}
2024-03-26 19:39:08 +01:00
else { enable = true; };
2024-03-26 19:30:12 +01:00
2024-03-26 19:39:08 +01:00
home.packages = if hostName == "xv-desktop" then with pkgs; [
2024-03-26 19:30:12 +01:00
barrier
] else [];
}