From fea62e4c69bbb8b99bacbda3d7a3d0014e09554a Mon Sep 17 00:00:00 2001 From: mehbark Date: Tue, 15 Aug 2023 13:11:56 -0400 Subject: [PATCH] services not systemd --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 786e24a..4ec4f9a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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