networkmanager service: use unbound if enabled

This commit is contained in:
adisbladis
2017-08-04 13:50:06 +08:00
parent 1de9b95cdd
commit da7755b75c

View File

@@ -12,6 +12,7 @@ let
dns =
if cfg.useDnsmasq then "dnsmasq"
else if config.services.resolved.enable then "systemd-resolved"
else if config.services.unbound.enable then "unbound"
else "default";
configFile = writeText "NetworkManager.conf" ''