change lid switch behaviour
This commit is contained in:
parent
bac787e1d7
commit
d94928d1cf
@ -28,7 +28,7 @@ top@{ inputs, moduleWithSystem, ... }: {
|
|||||||
programs = { zsh.enable = true; nix-ld.enable = true; };
|
programs = { zsh.enable = true; nix-ld.enable = true; };
|
||||||
services = {
|
services = {
|
||||||
dbus.enable = true;
|
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; }; };
|
networking = { stevenBlackHosts = { enable = true; blockFakenews = true; blockGambling = true; blockSocial = true; }; };
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user