summaryrefslogtreecommitdiff
path: root/vali.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-02-26 01:28:42 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2016-02-26 01:28:42 +0000
commitc05c42df458d21a75b970c6ef18071f061857f99 (patch)
tree06e0caeb2eafcafd7f640f2944490de6c95d8640 /vali.nix
parentd1ee3010fd8432ca809923c5acdb1497c52d189f (diff)
downloadnixos-c05c42df458d21a75b970c6ef18071f061857f99.tar
nixos-c05c42df458d21a75b970c6ef18071f061857f99.tar.gz
nixos-c05c42df458d21a75b970c6ef18071f061857f99.tar.bz2
nixos-c05c42df458d21a75b970c6ef18071f061857f99.tar.xz
nixos-c05c42df458d21a75b970c6ef18071f061857f99.zip
Proper sleep.conf
Diffstat (limited to 'vali.nix')
-rw-r--r--vali.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/vali.nix b/vali.nix
index c902d76c..77a8a04c 100644
--- a/vali.nix
+++ b/vali.nix
@@ -151,4 +151,12 @@ rec {
151 binary-caches-parallel-connections = 10 151 binary-caches-parallel-connections = 10
152 ''; 152 '';
153 }; 153 };
154
155 environment.etc."systemd/sleep.conf" = {
156 enable = true;
157 text = ''
158 [Sleep]
159 HibernateMode=shutdown platform
160 '';
161 };
154} 162}