nix/modules/home/programs/barrier.nix

16 lines
248 B
Nix
Raw Normal View History

2024-03-26 19:30:12 +01:00
{ 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 [];
}