diff options
Diffstat (limited to 'modules/storage/docs.nix')
| -rw-r--r-- | modules/storage/docs.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/storage/docs.nix b/modules/storage/docs.nix new file mode 100644 index 0000000..7ea4fad --- /dev/null +++ b/modules/storage/docs.nix @@ -0,0 +1,15 @@ +{ settings, lib, ... }: +{ + services.paperless = { + enable = true; + user = settings.paperless.user; + address = "0.0.0.0"; + database.createLocally = true; + port = settings.network.ports.paperless; + consumptionDir = settings.paperless.docsDir; + consumptionDirIsPublic = true; + settings = { + PAPERLESS_URL = lib.mkForce "http://paperless.local"; + }; + }; +} |
