Remove sleep targets from server

This commit is contained in:
iFargle 2023-12-04 15:58:15 +09:00
parent a5bfc4a438
commit 3a1c3469d2

View file

@ -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;
}