{ ... }: { 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 = "gnome-session"; openFirewall = true; confDir = "/etc/xrdp/conf"; }; }