Remove sleep targets from server
This commit is contained in:
parent
a5bfc4a438
commit
3a1c3469d2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue