nix/nixos/containers/rdesktop/default.nix
2024-03-21 18:51:41 +09:00

13 lines
258 B
Nix

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