nix/nixos/containers/rdesktop/default.nix

19 lines
346 B
Nix
Raw Normal View History

2024-03-20 09:23:30 +01:00
{ username, stateVersion, desktop, ... }: {
imports = [
../../common/desktops/${desktop}
../../users/${username}
];
networking.firewall = {
enable = true;
allowedTCPPorts = [ 3390 ];
};
services.xrdp = {
enable = true;
openFirewall = true;
port = 3390;
defaultWindowManager = "xfce4-session";
};
}