Merge pull request #27925 from adisbladis/networkmanager_unbound
networkmanager service: use unbound if enabled
This commit is contained in:
commit
29c3ea0cf0
@ -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…
Reference in New Issue
Block a user