From 093b9241ed4104473b7d7c3a1a33c51b5e751b78 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Tue, 12 Nov 2024 14:49:34 -0800 Subject: Disable all lid functionality --- hosts/common/optional/services/nolid.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hosts/common/optional/services/nolid.nix (limited to 'hosts/common/optional') 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"; + }; +} -- cgit v1.2.3