fix deprecate warnings
This commit is contained in:
parent
52d820acef
commit
233837b347
1 changed files with 8 additions and 8 deletions
|
|
@ -101,14 +101,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Disable all suspend/sleep for headless server operation
|
# Disable all suspend/sleep for headless server operation
|
||||||
services.logind = {
|
services.logind.settings.Login = {
|
||||||
lidSwitch = "ignore";
|
HandleLidSwitch = "ignore";
|
||||||
lidSwitchExternalPower = "ignore";
|
HandleLidSwitchExternalPower = "ignore";
|
||||||
lidSwitchDocked = "ignore";
|
HandleLidSwitchDocked = "ignore";
|
||||||
powerKey = "ignore";
|
HandlePowerKey = "ignore";
|
||||||
suspendKey = "ignore";
|
HandleSuspendKey = "ignore";
|
||||||
hibernateKey = "ignore";
|
HandleHibernateKey = "ignore";
|
||||||
settings.Login.IdleAction = "ignore";
|
IdleAction = "ignore";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Thermal management
|
# Thermal management
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue