Get rid of a warning about dbus in the activation script

Changed files
+1 -1
nixos
modules
+1 -1
nixos/modules/config/networking.nix
···
'' + optionalString config.services.nscd.enable ''
# Invalidate the nscd cache whenever resolv.conf is
# regenerated.
-
libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service'
+
libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
'' + optionalString cfg.dnsSingleRequest ''
# only send one DNS request at a time
resolv_conf_options='single-request'