aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/nolid.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-11-12 14:49:34 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-11-12 14:49:34 -0800
commit093b9241ed4104473b7d7c3a1a33c51b5e751b78 (patch)
treea06a39cf32d22199802ce4367576495a0c16d61d /hosts/common/optional/services/nolid.nix
parentce2d69efa52bb6bd3ab5b779451dee9d0f31e2a7 (diff)
downloadnix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.tar
nix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.tar.gz
nix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.tar.bz2
nix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.tar.lz
nix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.tar.xz
nix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.tar.zst
nix-093b9241ed4104473b7d7c3a1a33c51b5e751b78.zip
Disable all lid functionality
Diffstat (limited to '')
-rw-r--r--hosts/common/optional/services/nolid.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/common/optional/services/nolid.nix b/hosts/common/optional/services/nolid.nix
new file mode 100644
index 0000000..db868fe
--- /dev/null
+++ b/hosts/common/optional/services/nolid.nix
@@ -0,0 +1,7 @@
+{
+ services.logind = {
+ lidSwitch = "ignore";
+ lidSwitchDocked = "ignore";
+ lidSwitchExternalPower = "ignore";
+ };
+}