diff options
Diffstat (limited to 'services/logind.nix')
-rw-r--r-- | services/logind.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/services/logind.nix b/services/logind.nix new file mode 100644 index 0000000..83fd9cf --- /dev/null +++ b/services/logind.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + services.logind = { + lidSwitch = "suspend"; + lidSwitchDocked = "ignore"; + lidSwitchExternalPower = "ignore"; + }; +} |