Dimaga: prevent systemd-logind spam due to closed lid
This commit is contained in:
parent
55ed9f0adb
commit
91aa49b0dc
|
@ -43,6 +43,11 @@ in
|
|||
hibernate.enable = false;
|
||||
hybrid-sleep.enable = false;
|
||||
};
|
||||
services.logind = {
|
||||
lidSwitch = "lock";
|
||||
lidSwitchDocked = "lock";
|
||||
};
|
||||
services.upower.ignoreLid = true;
|
||||
|
||||
# Enable support for building ARM64 packages
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
|
Loading…
Reference in a new issue