aboutsummaryrefslogtreecommitdiff
path: root/nix/lib
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-06-08 20:01:34 -0700
committerFranck Cuny <franck@fcuny.net>2025-06-08 20:01:34 -0700
commitf67e56485509ce87bfc8d079813261848037104d (patch)
tree5478931cfaa2133939154821ee7f8b75149b3d07 /nix/lib
parentinstall agenix again (diff)
downloadinfra-f67e56485509ce87bfc8d079813261848037104d.tar.gz
use agenix to manage some secrets
I have some secrets that I want to manage for my user without having to rely on 1password, and ensure proper rotation everywhere when needed. For now we only have two secrets (one for `llm` and another one is the API key for anthropic for Emacs). Will document the process better in the near future.
Diffstat (limited to 'nix/lib')
-rw-r--r--nix/lib/mkSystem.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/lib/mkSystem.nix b/nix/lib/mkSystem.nix
index 9cc504b..7c438b6 100644
--- a/nix/lib/mkSystem.nix
+++ b/nix/lib/mkSystem.nix
@@ -40,6 +40,9 @@ systemFunc rec {
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
+ home-manager.sharedModules = [
+ inputs.agenix.homeManagerModules.default
+ ];
home-manager.users.${user} = import userHMConfig {
inputs = inputs;
darwin = darwin;