diff options
author | sils <sils@sils.li> | 2023-07-01 09:16:50 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-07-01 09:16:50 +0200 |
commit | 4427239f04eef2ba831d4c327c603836f7ede46d (patch) | |
tree | cc0124fd5e4ec4505a9a6bc1f6bd60a0695dd8ab /sys | |
parent | Feat(host/thinklappi): Add hibernation (diff) | |
download | nix-config-4427239f04eef2ba831d4c327c603836f7ede46d.tar.gz nix-config-4427239f04eef2ba831d4c327c603836f7ede46d.zip |
Feat(sys): Add systemd HibernateDelaySec
Diffstat (limited to '')
-rw-r--r-- | sys/default.nix | 1 | ||||
-rw-r--r-- | sys/systemd/default.nix | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/default.nix b/sys/default.nix index 04fe5c9..2b5f9d7 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -5,6 +5,7 @@ ./nix ./packages ./services + ./systemd ./users ]; } diff --git a/sys/systemd/default.nix b/sys/systemd/default.nix new file mode 100644 index 0000000..2325e4c --- /dev/null +++ b/sys/systemd/default.nix @@ -0,0 +1,5 @@ +{...}: { + systemd.sleep.extraConfig = '' + HibernateDelaySec=5m + ''; +} |