nix/nixos/containers/rdesktop/default.nix
2024-03-21 21:29:37 +09:00

13 lines
277 B
Nix

{ hostname, username, desktop, tailscalekey, ... }: {
imports = [
../../common/desktops/${desktop}
];
networking.firewall.allowedTCPPorts = [ 3389 ];
services.xrdp = {
enable = true;
openFirewall = true;
defaultWindowManager = "xfce4-session";
};
}