2024-03-22 14:36:01 +01:00
|
|
|
{ lib, desktop, ... }: {
|
2024-03-20 09:23:30 +01:00
|
|
|
imports = [
|
2024-03-21 14:45:56 +01:00
|
|
|
../../common/software/packages.nix
|
2024-03-22 14:36:01 +01:00
|
|
|
] ++ lib.optional (builtins.isString desktop) ../../common/desktops/${desktop};
|
|
|
|
|
2024-03-21 14:42:48 +01:00
|
|
|
networking.firewall.allowedTCPPorts = [ 3389 ];
|
2024-03-22 14:10:30 +01:00
|
|
|
services.xrdp.enable = true;
|
2024-03-20 09:23:30 +01:00
|
|
|
}
|