Commit Graph

5 Commits

Author SHA1 Message Date
Vladimir Timofeenko
004add0dd1 Add package option to Nix modules
"Package" option allows specifying the derivation that will be used for
the systemd service. Works the same way as `services.<name>.package` in
NixOS. By default picks the docspell packages from pkgs instance -- same
behavior as prior to this commit

Closes #2627
2024-05-06 10:22:00 -07:00
eikek
f3f246d798 Rename server -> restserver in nix setup
While I'd like to rename it the other way around, it would be a much
more breaking change. So for now, this way.
2024-03-10 15:37:16 +01:00
eikek
2e18274803 Extend nix flake setup 2024-03-10 15:37:16 +01:00
Vladimir Timofeenko
f5a508be8d nix: add extraConfig option
This commit adds a new option for joex and server modules - extraConfig.
Its main use-case is to specify options that are present in docspell but
not (perhaps, yet) defined in the modules.
2022-12-12 08:30:58 -08:00
Vladimir Timofeenko
ae8bd1d85b nix: implement flake
This commit introduces the ability to install Docspell from a Nix flake.
There are no major changes to the logic of the previous modules outside of
organizing them in a flake and adding a simple check script.
2022-11-30 21:22:47 -08:00