diff --git a/nixos/modules/services/networking/dnsmasq.nix b/nixos/modules/services/networking/dnsmasq.nix index b345b51d4bda..605c4666ab60 100644 --- a/nixos/modules/services/networking/dnsmasq.nix +++ b/nixos/modules/services/networking/dnsmasq.nix @@ -173,7 +173,7 @@ in touch ${stateDir}/dnsmasq.leases chown -R dnsmasq ${stateDir} ${lib.optionalString cfg.resolveLocalQueries "touch /etc/dnsmasq-{conf,resolv}.conf"} - dnsmasq --test + dnsmasq --test -C ${cfg.configFile} ''; serviceConfig = { Type = "dbus";