secrets: move gandi api key to agenix
This commit is contained in:
parent
f4e2d1739d
commit
238294b7bf
6 changed files with 13 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ in
|
|||
"${domain}" = {
|
||||
extraDomainNames = [ "*.${domain}" ];
|
||||
dnsProvider = "gandiv5";
|
||||
credentialsFile = pkgs.writeText "gandi-creds.env" gandiKey;
|
||||
credentialsFile = config.age.secrets."gandi/api-key".path;
|
||||
group = "nginx";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue