{ 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; }); }; }; }; }