re-add zone.
This commit is contained in:
parent
8d0cd78c59
commit
47389f8486
1 changed files with 8 additions and 2 deletions
|
@ -11,12 +11,16 @@
|
|||
];
|
||||
|
||||
sops = {
|
||||
# Mounts unencrypted sops values at /run/secrets/bind/rndc_keys/externaldns accessible by root only by default.
|
||||
# Mounts unencrypted sops values at /run/secrets/rndc_keys accessible by root only by default.
|
||||
secrets = {
|
||||
"bind/rndc-keys/externaldns" = {
|
||||
owner = config.users.users.named.name;
|
||||
inherit (config.users.users.named) group;
|
||||
};
|
||||
"bind/zones/jahanson.tech" = {
|
||||
owner = config.users.users.named.name;
|
||||
inherit (config.users.users.named) group;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -53,7 +57,9 @@
|
|||
|
||||
services.bind = {
|
||||
enable = true;
|
||||
extraConfig = import ./config/bind.nix {inherit config;};
|
||||
extraConfig = ''
|
||||
import ./config/bind.nix {inherit config;};
|
||||
'';
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
|
Reference in a new issue