mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
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";
|
|
};
|
|
}
|