base: disable hibernation and sleep

This commit is contained in:
h7x4
2026-01-22 14:54:35 +09:00
parent 73dc9306f1
commit ae3c7019ef

View File

@@ -86,6 +86,12 @@
Defaults lecture = never
'';
# These are servers, sleep is for the weak
systemd.sleep.extraConfig = lib.mkDefault ''
AllowSuspend=no
AllowHibernation=no
'';
users.mutableUsers = lib.mkDefault false;
users.groups."drift".name = "drift";