From f4659b1bb8f6e92fb24b3a9bd2be7880396f22da Mon Sep 17 00:00:00 2001 From: Joshua Manchester Date: Sun, 18 Feb 2024 23:56:14 +0000 Subject: [PATCH] nix: home-manager module fix service wantedby --- nix/hm-module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 4029d4d..4e6ed0b 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -105,7 +105,6 @@ in { Unit = { Description = "Hypridle"; After = ["graphical-session.target"]; - WantedBy = ["default.target"]; }; Service = { @@ -113,6 +112,8 @@ in { Restart = "always"; RestartSec = "10"; }; + + Install.WantedBy = [ "default.target" ]; }; }; }