nix/nixos/containers/rdesktop/default.nix
2024-03-21 22:44:15 +09:00

14 lines
313 B
Nix

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