services not systemd

This commit is contained in:
mehbark 2023-08-15 13:11:56 -04:00
parent 41309a30f5
commit fea62e4c69

View file

@ -162,7 +162,7 @@ in
'' else "";
systemd.targets.hybrid-sleep.enable = conf.wm == "xmonad";
systemd.logind.extraConfig = if conf.wm == "xmonad"
services.logind.extraConfig = if conf.wm == "xmonad"
then ''
IdleAction=hybrid-sleep
IdleActionSec=20s