summaryrefslogtreecommitdiffstats
path: root/lass/2configs/hw/x220.nix
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 /lass/2configs/hw/x220.nix
parent29138305788cb2229b9d8e6c329c743c2d8a6711 (diff)
l: ignore lidswitch only on x220
Diffstat (limited to 'lass/2configs/hw/x220.nix')
-rw-r--r--lass/2configs/hw/x220.nix5
1 files changed, 5 insertions, 0 deletions
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
+ '';
+
}