nixos-configs/nixos/desktop.nix

21 lines
372 B
Nix
Raw Permalink Normal View History

2024-11-19 21:08:41 +00:00
{
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"];
};
};
};
}