Since this module allows for customizing the manager package (which is
also used for config validation) as opposed to pulling the
build-platform compatible variant from the package-set, we cannot
assume this package is capable of being executed on the build
platform.
- reduces one layer of wrapper scripts
- reduces one layer of derivation in case of `extraFeatures = true`
- consequently overriding `extraFeatures = true` is simpler,
and the nix code itself got simpler as well
We decided to split the NixOS modules for knot-resolver 5 and 6. For >=6
we also go forward with the (now standard) name knot-resolver.
This change also adds a warning to services.kresd if users try to use it
with a knot-resolver 6 package.
Co-Authored-By: Vladimír Čunát <v@cunat.cz>