From c05c42df458d21a75b970c6ef18071f061857f99 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 26 Feb 2016 01:28:42 +0000 Subject: Proper sleep.conf --- vali.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vali.nix') diff --git a/vali.nix b/vali.nix index c902d76c..77a8a04c 100644 --- a/vali.nix +++ b/vali.nix @@ -151,4 +151,12 @@ rec { binary-caches-parallel-connections = 10 ''; }; + + environment.etc."systemd/sleep.conf" = { + enable = true; + text = '' + [Sleep] + HibernateMode=shutdown platform + ''; + }; } -- cgit v1.2.3