Constantin Gierczak--Galle
1456cf626e
All checks were successful
lint / check (push) Successful in 22s
22 lines
407 B
Nix
22 lines
407 B
Nix
{ sources, lib, ... }:
|
|
|
|
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 lib; });
|
|
};
|
|
};
|
|
};
|
|
networking = {
|
|
firewall = {
|
|
allowedUDPPorts = [ 53 ];
|
|
};
|
|
};
|
|
}
|