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" ]; }; }; }