fix: secret owners

This commit is contained in:
Moritz Böhme 2025-03-31 08:48:08 +00:00
parent 1f9002700d
commit 22667c219d
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
5 changed files with 6 additions and 1 deletions

View file

@ -14,6 +14,7 @@ in
prompts.api-key.type = "hidden";
prompts.api-key.persist = true;
share = true;
files.api-key.owner = "moritz";
};
clan.core.vars.generators.moritz-anthropic = {
@ -21,6 +22,7 @@ in
prompts.api-key.type = "hidden";
prompts.api-key.persist = true;
share = true;
files.api-key.owner = "moritz";
};
};
}

View file

@ -52,6 +52,7 @@ in
prompts.password.type = "hidden";
prompts.password.persist = true;
share = true;
files.password.owner = "moritz";
};
};
}

View file

@ -50,6 +50,7 @@ in
prompts.password.type = "hidden";
prompts.password.persist = true;
share = true;
files.password.owner = "moritz";
};
};
}

View file

@ -71,6 +71,7 @@ in
prompts.password.type = "hidden";
prompts.password.persist = true;
share = true;
files.password.owner = "moritz";
};
};
}

View file

@ -11,7 +11,7 @@ let
wrapped = pkgs.writeShellApplication {
name = "aider";
text = ''
aider --openai-api-key "$(cat /run/agenix/openai)" --anthropic-api-key "$(cat /run/agenix/anthropic)" --no-attribute-author --no-attribute-committer "$@"
aider --openai-api-key "$(cat ${config.clan.core.vars.generators.moritz-openai.files.api-key.path})" --anthropic-api-key "$(cat ${config.clan.core.vars.generators.moritz-anthropic.files.api-key.path})" --no-attribute-author --no-attribute-committer "$@"
'';
runtimeInputs = [ cfg.package ];
};