diff --git a/modules/age-home.nix b/modules/age-home.nix index 87ac531..479d597 100644 --- a/modules/age-home.nix +++ b/modules/age-home.nix @@ -233,6 +233,8 @@ in { Unit = { Description = "agenix activation"; X-SwitchMethod = "restart"; + After = ["home-manager-${config.home.username}.service"]; + Wants = ["home-manager-${config.home.username}.service"]; }; Service = { Type = "oneshot";