1 {pkgs, lib, config, ...}:
3 inherit (config) networking;
4 inherit (config.services) nsd;
16 interfaces = lib.unique [
17 (builtins.elemAt networking.interfaces.enp1s0.ipv4.addresses 0).address
18 (builtins.elemAt networking.interfaces.enp1s0.ipv6.addresses 0).address
20 # SEE: http://www.nlnetlabs.nl/blog/2012/10/11/nsd-ratelimit/
21 ratelimit.size = 10000;