From 079d1971480730bfd7be52190a3956bfcb8f5cfd Mon Sep 17 00:00:00 2001 From: ElliottSullingeFarrall Date: Thu, 20 Feb 2025 22:40:10 +0000 Subject: [PATCH] feat: ensure agenix service runs after home-manager service --- modules/age-home.nix | 2 ++ 1 file changed, 2 insertions(+) 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";