base: use RFC42 format for systemd.sleep

This commit is contained in:
h7x4
2026-05-22 16:03:33 +09:00
parent 4d68d1ecde
commit dd6d979633

View File

@@ -77,10 +77,10 @@
'';
# These are servers, sleep is for the weak
systemd.sleep.extraConfig = lib.mkDefault ''
AllowSuspend=no
AllowHibernation=no
'';
systemd.sleep.settings.Sleep = {
AllowSuspend = lib.mkDefault false;
AllowHibernation = lib.mkDefault false;
};
# users.mutableUsers = lib.mkDefault false;