summaryrefslogtreecommitdiffstats
path: root/lass/1systems
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-08-16 13:35:30 +0200
committerlassulus <lassulus@lassul.us>2017-08-16 13:35:30 +0200
commit445d4f74c225dcc44846488e4d30c0b8e4e52bd9 (patch)
tree64ff61b26ef95a6690499f6d915175ca8861987d /lass/1systems
parent3b24a8306d0bb57924fcc64ec28c5b1aa3a4ac74 (diff)
l skynet.r: don't suspend on lid close
Diffstat (limited to 'lass/1systems')
-rw-r--r--lass/1systems/skynet/config.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lass/1systems/skynet/config.nix b/lass/1systems/skynet/config.nix
index b707f4388..0b9499982 100644
--- a/lass/1systems/skynet/config.nix
+++ b/lass/1systems/skynet/config.nix
@@ -44,6 +44,10 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.skynet;
+ services.logind.extraConfig = ''
+ HandleLidSwitch=ignore
+ '';
+
#fileSystems = {
# "/bku" = {
# device = "/dev/mapper/pool-bku";