networkmanager service: use unbound if enabled
This commit is contained in:
parent
1de9b95cdd
commit
da7755b75c
@ -12,6 +12,7 @@ let
|
|||||||
dns =
|
dns =
|
||||||
if cfg.useDnsmasq then "dnsmasq"
|
if cfg.useDnsmasq then "dnsmasq"
|
||||||
else if config.services.resolved.enable then "systemd-resolved"
|
else if config.services.resolved.enable then "systemd-resolved"
|
||||||
|
else if config.services.unbound.enable then "unbound"
|
||||||
else "default";
|
else "default";
|
||||||
|
|
||||||
configFile = writeText "NetworkManager.conf" ''
|
configFile = writeText "NetworkManager.conf" ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user