summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-07-31 18:50:40 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-07-31 18:50:40 +0200
commitfdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2 (patch)
tree75cccc42a7d0e04a8f078069b70425dbcf12d382 /hel.nix
parenta85ae31b39b34d3a97946c2833f09312fc426288 (diff)
downloadnixos-fdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2.tar
nixos-fdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2.tar.gz
nixos-fdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2.tar.bz2
nixos-fdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2.tar.xz
nixos-fdfc1ae4db02c386f3b9f3ddf4ac19fb5aa7b4f2.zip
hybrid-sleep & cgmanager
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/hel.nix b/hel.nix
index eb1b5ba4..877d803b 100644
--- a/hel.nix
+++ b/hel.nix
@@ -140,8 +140,7 @@
140 }; 140 };
141 141
142 logind.extraConfig = '' 142 logind.extraConfig = ''
143 HandleLidSwitch=sleep 143 HandleLidSwitch=hybrid-sleep
144 HandleSuspendKey=sleep
145 LidSwitchIgnoreInhibited=no 144 LidSwitchIgnoreInhibited=no
146 ''; 145 '';
147 146
@@ -316,6 +315,8 @@
316 }) 315 })
317 ]; 316 ];
318 }; 317 };
318
319 cgmanager.enable = true;
319 }; 320 };
320 321
321 systemd.services."gpsd".wants = [ "chronyd.service" ]; 322 systemd.services."gpsd".wants = [ "chronyd.service" ];