diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-09 19:11:37 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-12 08:20:24 -0800 |
| commit | 72307e4dca688a5f2b88cef26273aaa6a5e189db (patch) | |
| tree | 7883bd1387cac0c0ad9180ef75fe0b98965706df /home/profiles | |
| parent | clean up ssh keys for the admin user (diff) | |
| download | infra-72307e4dca688a5f2b88cef26273aaa6a5e189db.tar.gz | |
don't use agenix from home manager
Install the key with the host's configuration and rekey the secrets.
Diffstat (limited to 'home/profiles')
| -rw-r--r-- | home/profiles/darwin.nix | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/home/profiles/darwin.nix b/home/profiles/darwin.nix index c0e9a8e..d8942c8 100644 --- a/home/profiles/darwin.nix +++ b/home/profiles/darwin.nix @@ -1,16 +1,5 @@ { pkgs, config, ... }: { - age = { - identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ]; - secretsDir = "${config.home.homeDirectory}/.local/share/agenix"; - - secrets = { - anthropic-api-key = { - file = ../../secrets/users/fcuny/anthropic-api-key.age; - }; - }; - }; - imports = [ ../programs/aider.nix ../programs/bat.nix @@ -46,7 +35,7 @@ }; programs.fish.shellInit = '' - export ANTHROPIC_API_KEY="$(cat ${config.age.secrets.anthropic-api-key.path})" + export ANTHROPIC_API_KEY="$(cat /run/agenix/anthropic-api-key)" ''; home.sessionPath = [ |
