diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-04-21 14:48:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-21 14:48:30 -0500 |
commit | 7a516cd0c3ee89c4b180d2d7a5b9e7c1a77bc677 (patch) | |
tree | 47edc96c97ea1f6aa7735a283f637227f1559bc1 /nixos/modules/services/networking/nsd.nix | |
parent | a2e40f72547a888066698a41fa54ca4c675aaad0 (diff) | |
parent | dff29c676b07ce0f9e7de5bd4281c92717225401 (diff) |
Merge branch 'master' into feat/nsd/dnssec
Diffstat (limited to 'nixos/modules/services/networking/nsd.nix')
-rw-r--r-- | nixos/modules/services/networking/nsd.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix index 636af4bbc31b..0b52b1d3e302 100644 --- a/nixos/modules/services/networking/nsd.nix +++ b/nixos/modules/services/networking/nsd.nix @@ -11,6 +11,8 @@ let # build nsd with the options needed for the given config nsdPkg = pkgs.nsd.override { + configFile = "${configFile}/nsd.conf"; + bind8Stats = cfg.bind8Stats; ipv6 = cfg.ipv6; ratelimit = cfg.ratelimit.enable; @@ -885,6 +887,8 @@ in config = mkIf cfg.enable { + environment.systemPackages = [ nsdPkg ]; + users.extraGroups = singleton { name = username; gid = config.ids.gids.nsd; @@ -970,4 +974,6 @@ in }; }; + + meta.maintainers = with lib.maintainers; [ hrdinka ]; } |