23 lines
398 B
Nix
23 lines
398 B
Nix
|
{ sources, ... }:
|
||
|
|
||
|
let
|
||
|
dns = import sources.dns-nix { };
|
||
|
in
|
||
|
{
|
||
|
services.nsd = {
|
||
|
enable = true;
|
||
|
zones = {
|
||
|
"beta.dgnum.eu" = {
|
||
|
# provideXFR = [ ... ];
|
||
|
# notify = [ ... ];
|
||
|
data = dns.lib.toString "beta.dgnum.eu" (import ./beta.dgnum.eu.nix { inherit dns; });
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
networking = {
|
||
|
firewall = {
|
||
|
allowedUDPPorts = [ 53 ];
|
||
|
};
|
||
|
};
|
||
|
}
|