networkmanager service: use unbound if enabled

This commit is contained in:
adisbladis 2017-08-04 13:50:06 +08:00
parent 1de9b95cdd
commit da7755b75c
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5

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" ''