diff --git a/base/default.nix b/base/default.nix index 56cbf75..bebe575 100644 --- a/base/default.nix +++ b/base/default.nix @@ -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;