diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-06-12 14:36:34 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-06-12 14:36:34 -0700 |
| commit | 5bb8832f54cb2ea1c56e82608494f7fbc9f1b73c (patch) | |
| tree | 75d892a99c3b73e8ff591351de9ccfa5593fe636 | |
| parent | simplify how we're managing templates for `llm` (diff) | |
| download | infra-5bb8832f54cb2ea1c56e82608494f7fbc9f1b73c.tar.gz | |
stop using relative paths for secrets
| -rw-r--r-- | nix/users/fcuny/secrets.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/users/fcuny/secrets.nix b/nix/users/fcuny/secrets.nix index 1f6c351..65131df 100644 --- a/nix/users/fcuny/secrets.nix +++ b/nix/users/fcuny/secrets.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ self, config, ... }: { age = { identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ]; @@ -6,11 +6,11 @@ secrets = { llm = { - file = ../../../secrets/users/fcuny/llm.age; + file = "${self}/secrets/users/fcuny/llm.age"; path = "${config.home.homeDirectory}/.config/llm/keys.json"; }; anthropic-api-key = { - file = ../../../secrets/users/fcuny/anthropic-api-key.age; + file = "${self}/secrets/users/fcuny/anthropic-api-key.age"; }; }; }; |
