mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #259228 from nbdd0121/patch-1
nixos/dnsmasq: allow custom package
This commit is contained in:
commit
4a5f3d5a50
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user