From dd6d979633ca8c0499f1e5771f38b0971b76c55c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 22 May 2026 16:03:33 +0900 Subject: [PATCH] base: use RFC42 format for `systemd.sleep` --- base/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;