summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-13 18:20:44 +0100
committerlassulus <lassulus@lassul.us>2017-12-13 18:20:44 +0100
commit17860a36557ff31d589ad88d3f9aa98b81204d27 (patch)
tree36d75fd76331ace888be284d1a5a8b1f9d6385a0
parent29138305788cb2229b9d8e6c329c743c2d8a6711 (diff)
l: ignore lidswitch only on x220
-rw-r--r--lass/2configs/baseX.nix4
-rw-r--r--lass/2configs/hw/x220.nix5
2 files changed, 5 insertions, 4 deletions
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix
index 32a9f66cf..9712bafff 100644
--- a/lass/2configs/baseX.nix
+++ b/lass/2configs/baseX.nix
@@ -112,10 +112,6 @@ in {
xkbOptions = "caps:backspace";
};
- services.logind.extraConfig = ''
- HandleLidSwitch=ignore
- '';
-
services.urxvtd.enable = true;
services.xresources.enable = true;
lass.screenlock.enable = true;
diff --git a/lass/2configs/hw/x220.nix b/lass/2configs/hw/x220.nix
index bf7decc40..f5651da13 100644
--- a/lass/2configs/hw/x220.nix
+++ b/lass/2configs/hw/x220.nix
@@ -29,4 +29,9 @@
options = ["nosuid" "nodev" "noatime"];
};
};
+
+ services.logind.extraConfig = ''
+ HandleLidSwitch=ignore
+ '';
+
}