Constantin Gierczak--Galle
862168b2bc
Reviewed-on: #9 Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org> Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
19 lines
411 B
Nix
19 lines
411 B
Nix
{ sources, lib, ... }:
|
|
|
|
let
|
|
dns = import sources.dns-nix { };
|
|
in
|
|
{
|
|
services.nsd = {
|
|
enable = true;
|
|
verbosity = 1000;
|
|
interfaces = [ "2a0e:e701:1120:1000:ffff::45.13.104.26" ];
|
|
zones = {
|
|
"lab.dgnum.eu" = {
|
|
# provideXFR = [ ... ];
|
|
# notify = [ ... ];
|
|
data = dns.lib.toString "lab.dgnum.eu" (import ./lab.dgnum.eu.nix { inherit dns lib; });
|
|
};
|
|
};
|
|
};
|
|
}
|