{ pkgs, username, stateVersion, desktop, ... }: { imports = [ # ../../common/desktops/${desktop} ../../users/${username} ../../common/modules/nixos.nix ../../common/modules/networking.nix ../../common/services/tailscale-autoconnect.nix ]; networking.firewall.allowedTCPPorts = [ 3389 ]; services.xserver = { enable = true; desktopManager = { xterm.enable = false; xfce.enable = true; }; displayManager.defaultSession = "xfce"; }; services.xrdp = { enable = true; openFirewall = true; defaultWindowManager = "xfce4-session"; }; }