fix: had the secret declation in teh wrong location

This commit is contained in:
silver 2023-04-20 19:22:17 +01:00
parent 55ce671a4b
commit dae38b854b

View file

@ -59,9 +59,10 @@ in {
}; };
}; };
config = lib.mkIf cfg.enable {
# secrets required
age.secrets.dns_dnskeys.file = ../secrets/dns_dnskeys.conf.age; age.secrets.dns_dnskeys.file = ../secrets/dns_dnskeys.conf.age;
config = lib.mkIf cfg.enable {
services.bind = { services.bind = {
enable = true; enable = true;