aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-06-12 14:36:34 -0700
committerFranck Cuny <franck@fcuny.net>2025-06-12 14:36:34 -0700
commit5bb8832f54cb2ea1c56e82608494f7fbc9f1b73c (patch)
tree75d892a99c3b73e8ff591351de9ccfa5593fe636 /nix
parentsimplify how we're managing templates for `llm` (diff)
downloadinfra-5bb8832f54cb2ea1c56e82608494f7fbc9f1b73c.tar.gz
stop using relative paths for secrets
Diffstat (limited to 'nix')
-rw-r--r--nix/users/fcuny/secrets.nix6
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";
};
};
};