forked from mirrors_public/oddlama_nix-config
17 lines
481 B
Nix
17 lines
481 B
Nix
{
|
|
systemd.network.wait-online.anyInterface = true;
|
|
|
|
# services.tlp.enable = true;
|
|
services.physlock.enable = true;
|
|
services.logind.settings.Login = {
|
|
LidSwitch = "ignore";
|
|
LidSwitchDocked = "ignore";
|
|
LidSwitchExternalPower = "ignore";
|
|
HandlePowerKey = "suspend";
|
|
HandleSuspendKey = "suspend";
|
|
HandleHibernateKey = "suspend";
|
|
PowerKeyIgnoreInhibited = "yes";
|
|
SuspendKeyIgnoreInhibited = "yes";
|
|
HibernateKeyIgnoreInhibited = "yes";
|
|
};
|
|
}
|