nix/nixos/containers/rdesktop/default.nix

14 lines
277 B
Nix
Raw Normal View History

2024-03-21 12:27:53 +01:00
{ hostname, username, desktop, tailscalekey, ... }: {
2024-03-20 09:23:30 +01:00
imports = [
2024-03-21 10:51:41 +01:00
../../common/desktops/${desktop}
2024-03-20 09:23:30 +01:00
];
2024-03-21 14:42:48 +01:00
networking.firewall.allowedTCPPorts = [ 3389 ];
2024-03-20 14:59:42 +01:00
2024-03-20 09:23:30 +01:00
services.xrdp = {
enable = true;
openFirewall = true;
2024-03-21 13:29:37 +01:00
defaultWindowManager = "xfce4-session";
2024-03-20 09:23:30 +01:00
};
}