From dae38b854b3a4e895d504fc232a32a37d288e8f8 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 20 Apr 2023 19:22:17 +0100 Subject: [PATCH] fix: had the secret declation in teh wrong location --- applications/dns.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/dns.nix b/applications/dns.nix index 0eba340..25cd9c5 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -59,9 +59,10 @@ in { }; }; - age.secrets.dns_dnskeys.file = ../secrets/dns_dnskeys.conf.age; - config = lib.mkIf cfg.enable { + # secrets required + age.secrets.dns_dnskeys.file = ../secrets/dns_dnskeys.conf.age; + services.bind = { enable = true;