talos: home: logind settings were renamed
This commit is contained in:
parent
b9cd66b3cd
commit
e0c3b553e3
2 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
logind.lidSwitch = "suspend";
|
||||
logind.settings.Login.HandleLidSwitch = "suspend";
|
||||
|
||||
printing = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue