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