Better stability
This commit is contained in:
@ -4,11 +4,13 @@
|
|||||||
# Enable the OpenSSH daemon
|
# Enable the OpenSSH daemon
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
# Sleep configuration
|
# Sleep configuration optimized for NVIDIA
|
||||||
systemd.sleep.extraConfig = ''
|
systemd.sleep.extraConfig = ''
|
||||||
AllowSuspend=no
|
AllowSuspend=yes
|
||||||
AllowHibernation=no
|
AllowHibernation=no
|
||||||
AllowHybridSleep=no
|
AllowHybridSleep=no
|
||||||
AllowSuspendThenHibernate=no
|
AllowSuspendThenHibernate=no
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
systemd.services.display-manager.restartIfChanged = true;
|
||||||
}
|
}
|
Reference in New Issue
Block a user