From 4427239f04eef2ba831d4c327c603836f7ede46d Mon Sep 17 00:00:00 2001 From: sils Date: Sat, 1 Jul 2023 09:16:50 +0200 Subject: Feat(sys): Add systemd HibernateDelaySec --- sys/default.nix | 1 + sys/systemd/default.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 sys/systemd/default.nix (limited to 'sys') 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 + ''; +} -- cgit 1.4.1