fix: set teh user for the unlocked file
This commit is contained in:
parent
dae38b854b
commit
74c00e743c
1 changed files with 5 additions and 1 deletions
|
@ -61,7 +61,11 @@ in {
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# secrets required
|
# 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 = {
|
services.bind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue