Use clan vars instead of secrets
This commit is contained in:
parent
0f7761b8f9
commit
f4f85dc91a
2 changed files with 30 additions and 2 deletions
|
|
@ -1,7 +1,15 @@
|
|||
{config, ...}: {
|
||||
clan.core.vars.generators.duckdns = {
|
||||
prompts.token = {
|
||||
description = "Duck DNS token used to update the Dynamic DNS";
|
||||
type = "hidden";
|
||||
persist = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.duckdns = {
|
||||
enable = true;
|
||||
domains = ["campares.duckdns.org"];
|
||||
tokenFile = config.sops.secrets.duckdns-token.path;
|
||||
tokenFile = config.clan.core.vars.generators.duckdns.files.token.path;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue