summary refs log tree commit diff stats
path: root/sys/systemd
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-01 09:16:50 +0200
committersils <sils@sils.li>2023-07-01 09:16:50 +0200
commit4427239f04eef2ba831d4c327c603836f7ede46d (patch)
treecc0124fd5e4ec4505a9a6bc1f6bd60a0695dd8ab /sys/systemd
parentFeat(host/thinklappi): Add hibernation (diff)
downloadnix-config-4427239f04eef2ba831d4c327c603836f7ede46d.tar.gz
nix-config-4427239f04eef2ba831d4c327c603836f7ede46d.zip
Feat(sys): Add systemd HibernateDelaySec
Diffstat (limited to '')
-rw-r--r--sys/systemd/default.nix5
1 files changed, 5 insertions, 0 deletions
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
+  '';
+}