Better stability

This commit is contained in:
2025-05-30 00:43:18 -06:00
parent 019fd10123
commit 737a65a97d

View File

@ -4,11 +4,13 @@
# Enable the OpenSSH daemon
services.openssh.enable = true;
# Sleep configuration
# Sleep configuration optimized for NVIDIA
systemd.sleep.extraConfig = ''
AllowSuspend=no
AllowSuspend=yes
AllowHibernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no
'';
systemd.services.display-manager.restartIfChanged = true;
}