summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--sys/default.nix1
-rw-r--r--sys/systemd/default.nix5
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
+  '';
+}