{ ... }: { systemd.targets.sleep.enable = false; systemd.targets.suspend.enable = false; systemd.targets.hibernate.enable = false; systemd.targets.hybrid-sleep.enable = false; services.xrdp = { enable = true; # defaultWindowManager = ""; openFirewall = true; confDir = "/etc/xrdp/conf"; }; }