remove agenix and migrate secrets to clan vars
squash this
This commit is contained in:
parent
b91a52da5e
commit
8b3841a87f
18 changed files with 96 additions and 165 deletions
15
modules/gandi.nix
Normal file
15
modules/gandi.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
clan.core.vars.generators.gandi = {
|
||||
prompts.gandi-token = {
|
||||
description = "gandi access token";
|
||||
type = "hidden";
|
||||
};
|
||||
files.gandi-env = {
|
||||
secret = true;
|
||||
};
|
||||
script = ''
|
||||
printf %s "GANDIV5_PERSONAL_ACCESS_TOKEN=" >> $out/gandi-env
|
||||
cat $prompts/gandi-token >> $out/gandi-env
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue