nixos/service: add dns (bind named server)
This commit is contained in:
+12
-1
@@ -28,6 +28,14 @@ in
|
||||
./vm.nix
|
||||
];
|
||||
|
||||
age.secrets = {
|
||||
dns-root-key = {
|
||||
file = ../agenix/dns/tuxcord.key;
|
||||
group = "named";
|
||||
owner = "named";
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
package = inputs'.nix-super.packages.default;
|
||||
|
||||
@@ -97,7 +105,10 @@ in
|
||||
|
||||
extraHosts =
|
||||
let
|
||||
subdomains = [ "" ".git" ];
|
||||
subdomains = [
|
||||
""
|
||||
".git"
|
||||
];
|
||||
in
|
||||
builtins.foldl' (
|
||||
hosts-acc: domain-prefix:
|
||||
|
||||
Reference in New Issue
Block a user