It requires an overlay to be passed to pkgs instance
It does not allow the user to specify a custom version of docspell (unless it's been patched in pkgs instance)
Many services.<name> modules in NixOS implement a package option which allows the user to override the package that is used for the service in the specific modules. This also allows skipping the overlay part.
If ACKed, I'd be happy to implement this option in a PR. The implementation would leave the default behavior as is.
Currently Docspell services use hardcoded
pkgs.docspell-joex
andpkgs.docspell-restserver
:This approach has two implications:
pkgs
instancepkgs
instance)Many
services.<name>
modules in NixOS implement apackage
option which allows the user to override the package that is used for the service in the specific modules. This also allows skipping the overlay part.If ACKed, I'd be happy to implement this option in a PR. The implementation would leave the default behavior as is.