mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:48:12 +09:00
lock
This commit is contained in:
@@ -16,6 +16,15 @@
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
logind = {
|
||||
lidSwitch = "lock"; # Lock when lid is closed
|
||||
lidSwitchDocked = "ignore"; # Ignore when docked
|
||||
extraConfig = ''
|
||||
HandleLidSwitchExternalPower=lock
|
||||
LidSwitchIgnoreInhibited=no
|
||||
'';
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user