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