fix: had the secret declation in teh wrong location
This commit is contained in:
parent
55ce671a4b
commit
dae38b854b
1 changed files with 3 additions and 2 deletions
|
@ -59,9 +59,10 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets.dns_dnskeys.file = ../secrets/dns_dnskeys.conf.age;
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
# secrets required
|
||||||
|
age.secrets.dns_dnskeys.file = ../secrets/dns_dnskeys.conf.age;
|
||||||
|
|
||||||
services.bind = {
|
services.bind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue