diff --git a/hosts/nixos/yveltal/configuration.nix b/hosts/nixos/yveltal/configuration.nix index 9d3664a..13a2064 100644 --- a/hosts/nixos/yveltal/configuration.nix +++ b/hosts/nixos/yveltal/configuration.nix @@ -60,9 +60,9 @@ HandleLidSwitch = "suspend-then-hibernate"; }; # sets the delay before hibernation for ^ - systemd.sleep.extraConfig = '' - HibernateDelaySec=1800 - ''; + systemd.sleep.settings.Sleep = { + HibernateDelaySec = "30m"; + }; # boot (systemd is growing on me) boot = {