18 lines
346 B
Nix
18 lines
346 B
Nix
{ 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";
|
|
};
|
|
}
|