21 lines
372 B
Nix
21 lines
372 B
Nix
|
{
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: {
|
||
|
config = lib.mkIf (builtins.elem "desktop" config.deployment.tags) {
|
||
|
programs.ssh.startAgent = true;
|
||
|
|
||
|
services = {
|
||
|
xserver.enable = true;
|
||
|
printing.enable = true;
|
||
|
pipewire.enable = true;
|
||
|
|
||
|
tailscale = {
|
||
|
useRoutingFeatures = "client";
|
||
|
extraSetFlags = ["--accept-routes"];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|