2024-03-21 10:51:41 +01:00
|
|
|
{ hostname, username, desktop, ... }: {
|
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 10:51:41 +01:00
|
|
|
networking.hostName = "${hostname}";
|
2024-03-20 14:59:42 +01:00
|
|
|
networking.firewall.allowedTCPPorts = [ 3389 ];
|
|
|
|
|
2024-03-20 09:23:30 +01:00
|
|
|
services.xrdp = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
}
|