Commit Graph

8 Commits

Author SHA1 Message Date
ivanbrennan
baf5c682b0
secure nix config
Stop writing docspell config files to the world-readable nix store,
since they contain sensitive info, e.g. database passwords.

Additionally, provide a `configFile` option so users may point to a file
they've secured using their prefered secret management strategy.
2024-07-05 19:16:53 -04:00
Vladimir Timofeenko
a2ae339870 Add auth.on-account-source-conflict 2024-05-24 13:28:44 -07:00
Vladimir Timofeenko
bec485de0b Add logout-url option to Nix module
Closes #2643
2024-05-22 17:18:18 -07:00
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