From 74c00e743cdf23a7bf88479156ff5709af94179c Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 20 Apr 2023 23:10:47 +0100 Subject: [PATCH] fix: set teh user for the unlocked file --- applications/dns.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/dns.nix b/applications/dns.nix index 25cd9c5..3eddde2 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -61,7 +61,11 @@ 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; + owner = "named"; + group = "named"; + }; services.bind = { enable = true;