change lid switch behaviour

This commit is contained in:
Ivan Kirilov Dimitrov 2024-08-04 13:33:34 +02:00
parent bac787e1d7
commit d94928d1cf
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -28,7 +28,7 @@ top@{ inputs, moduleWithSystem, ... }: {
programs = { zsh.enable = true; nix-ld.enable = true; };
services = {
dbus.enable = true;
logind = { lidSwitch = "lock"; lidSwitchDocked = "lock"; killUserProcesses = true; powerKeyLongPress = "reboot"; };
logind = { killUserProcesses = true; powerKeyLongPress = "reboot"; };
};
networking = { stevenBlackHosts = { enable = true; blockFakenews = true; blockGambling = true; blockSocial = true; }; };
});