services not systemd
This commit is contained in:
parent
41309a30f5
commit
fea62e4c69
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ in
|
||||||
'' else "";
|
'' else "";
|
||||||
|
|
||||||
systemd.targets.hybrid-sleep.enable = conf.wm == "xmonad";
|
systemd.targets.hybrid-sleep.enable = conf.wm == "xmonad";
|
||||||
systemd.logind.extraConfig = if conf.wm == "xmonad"
|
services.logind.extraConfig = if conf.wm == "xmonad"
|
||||||
then ''
|
then ''
|
||||||
IdleAction=hybrid-sleep
|
IdleAction=hybrid-sleep
|
||||||
IdleActionSec=20s
|
IdleActionSec=20s
|
||||||
|
|
Loading…
Reference in a new issue