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 = {
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue