mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
networkmanager service: use unbound if enabled
This commit is contained in:
parent
1de9b95cdd
commit
da7755b75c
@ -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" ''
|
||||
|
Loading…
Reference in New Issue
Block a user