Merge pull request #259228 from nbdd0121/patch-1

nixos/dnsmasq: allow custom package
This commit is contained in:
Lin Jian 2023-10-07 21:04:22 +08:00 committed by GitHub
commit 4a5f3d5a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ with lib;
let
cfg = config.services.dnsmasq;
dnsmasq = pkgs.dnsmasq;
dnsmasq = cfg.package;
stateDir = "/var/lib/dnsmasq";
# True values are just put as `name` instead of `name=true`, and false values
@ -53,6 +53,8 @@ in
'';
};
package = mkPackageOptionMD pkgs "dnsmasq" {};
resolveLocalQueries = mkOption {
type = types.bool;
default = true;