diff --git a/nixos/hosts/framework-server/gnome-rdp.nix b/nixos/hosts/framework-server/gnome-rdp.nix index f780fd63..0269829a 100644 --- a/nixos/hosts/framework-server/gnome-rdp.nix +++ b/nixos/hosts/framework-server/gnome-rdp.nix @@ -1,4 +1,8 @@ { ... }: { services.gnome.gnome-remote-desktop.enable = true; networking.firewall.allowedTCPPorts = [ 3389 ]; + systemd.targets.sleep.enable = false; + systemd.targets.suspend.enable = false; + systemd.targets.hibernate.enable = false; + systemd.targets.hybrid-sleep.enable = false; } \ No newline at end of file