From da7755b75cd2cbcaf14b65b1a3e6b88cff1e0d04 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 4 Aug 2017 13:50:06 +0800 Subject: [PATCH] networkmanager service: use unbound if enabled --- nixos/modules/services/networking/networkmanager.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix index ab161b7e772c..2b7086afe7e8 100644 --- a/nixos/modules/services/networking/networkmanager.nix +++ b/nixos/modules/services/networking/networkmanager.nix @@ -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" ''