diff --git a/modules/nixos/system/networking/dnsmasq/default.nix b/modules/nixos/system/networking/dnsmasq/default.nix index 8c7c68a33..de0660bad 100644 --- a/modules/nixos/system/networking/dnsmasq/default.nix +++ b/modules/nixos/system/networking/dnsmasq/default.nix @@ -5,12 +5,14 @@ ... }: let - inherit (lib) mkIf; + inherit (lib) mkIf mkForce; cfg = config.${namespace}.system.networking; in { config = mkIf (cfg.dns == "dnsmasq") { + networking.networkmanager.dns = "dnsmasq"; + services.resolved.enable = mkForce false; services.dnsmasq = { enable = true;