1
0
Fork 0

Dimaga: prevent systemd-logind spam due to closed lid

This commit is contained in:
Aires 2024-08-21 10:20:26 -04:00
parent 55ed9f0adb
commit 91aa49b0dc

View file

@ -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" ];