Skip to content

Commit

Permalink
feature: added support for running agenix on home-manager activation
Browse files Browse the repository at this point in the history
  • Loading branch information
elliott-farrall committed Sep 29, 2024
1 parent c69b98e commit f2725cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/age-home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,9 @@ in {
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/agenix/stderr";
};
};

home.activation.agenix = lib.mkIf pkgs.stdenv.hostPlatform.isLinux (
lib.hm.dag.entryAfter ["linkGeneration"] mountingScript
);
};
}

0 comments on commit f2725cd

Please sign in to comment.