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

@ -47,7 +47,7 @@ in {
}; };
}; };
logind.lidSwitch = "suspend"; logind.settings.Login.HandleLidSwitch = "suspend";
printing = { printing = {
enable = true; enable = true;

View file

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