talos: home: logind settings were renamed

This commit is contained in:
Antoine Martin 2025-11-26 12:38:56 +01:00
parent b9cd66b3cd
commit e0c3b553e3
2 changed files with 7 additions and 7 deletions

View file

@ -207,12 +207,12 @@ in {
# FIXME: belongs elsewhere
services = {
logind = {
lidSwitch = "suspend";
lidSwitchExternalPower = "ignore";
extraConfig = ''
IdleAction=suspend
IdleActionSec=10min
'';
settings.Login = {
HandleLidSwitch = "suspend";
HandleLidSwitchExternalPower = "ignore";
IdleAction = "suspend";
IdleActionSec = "10min";
};
};
upower.enable = true;
};