diff --git a/modules/config/networking.nix b/modules/config/networking.nix index 18e0b834c98..591c758b299 100644 --- a/modules/config/networking.nix +++ b/modules/config/networking.nix @@ -64,7 +64,8 @@ in # a collision with an apparently unrelated environment # variable with the same name exported by dhcpcd. interface_order='lo lo[0-9]*' - + '' + optionalString config.services.nscd.enable + '' # Invalidate the nscd cache whenever resolv.conf is # regenerated. libc_restart='${pkgs.upstart}/sbin/start invalidate-nscd'