aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/secrets.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-12 08:52:51 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-12 08:52:51 -0700
commit61fa2329f553f9c7962e968e1ec98ae675903b70 (patch)
tree0afdbf7c8fddda1718abee49db6206a5f8df5b09 /home/profiles/secrets.nix
parentdirectories first (diff)
downloadinfra-61fa2329f553f9c7962e968e1ec98ae675903b70.tar.gz
users -> home
Diffstat (limited to 'home/profiles/secrets.nix')
-rw-r--r--home/profiles/secrets.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/profiles/secrets.nix b/home/profiles/secrets.nix
new file mode 100644
index 0000000..65131df
--- /dev/null
+++ b/home/profiles/secrets.nix
@@ -0,0 +1,17 @@
+{ self, config, ... }:
+{
+ age = {
+ identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ];
+ secretsDir = "${config.home.homeDirectory}/.local/share/agenix";
+
+ secrets = {
+ llm = {
+ file = "${self}/secrets/users/fcuny/llm.age";
+ path = "${config.home.homeDirectory}/.config/llm/keys.json";
+ };
+ anthropic-api-key = {
+ file = "${self}/secrets/users/fcuny/anthropic-api-key.age";
+ };
+ };
+ };
+}