This commit is contained in:
2025-11-03 02:08:47 +09:00
parent bc8a6a8f3f
commit c24198b171
4 changed files with 38 additions and 2 deletions
+9
View File
@@ -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
'';
}
};
}