fix: set teh user for the unlocked file

This commit is contained in:
silver 2023-04-20 23:10:47 +01:00
parent dae38b854b
commit 74c00e743c

View file

@ -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;