2024-11-22 22:16:04 +01:00
|
|
|
{ sources, lib, ... }:
|
2024-11-22 21:32:35 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
dns = import sources.dns-nix { };
|
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nsd = {
|
|
|
|
enable = true;
|
|
|
|
zones = {
|
|
|
|
"beta.dgnum.eu" = {
|
|
|
|
# provideXFR = [ ... ];
|
|
|
|
# notify = [ ... ];
|
2024-11-22 22:16:22 +01:00
|
|
|
data = dns.lib.toString "beta.dgnum.eu" (import ./beta.dgnum.eu.nix { inherit dns lib; });
|
2024-11-22 21:32:35 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
allowedUDPPorts = [ 53 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|