fix: secret owners
This commit is contained in:
parent
1f9002700d
commit
22667c219d
5 changed files with 6 additions and 1 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ in
|
|||
prompts.password.type = "hidden";
|
||||
prompts.password.persist = true;
|
||||
share = true;
|
||||
files.password.owner = "moritz";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ in
|
|||
prompts.password.type = "hidden";
|
||||
prompts.password.persist = true;
|
||||
share = true;
|
||||
files.password.owner = "moritz";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ in
|
|||
prompts.password.type = "hidden";
|
||||
prompts.password.persist = true;
|
||||
share = true;
|
||||
files.password.owner = "moritz";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue