ADD module paperless - non use

This commit is contained in:
Alexandre LUCAZEAU 2023-07-23 10:55:31 +02:00
parent d7224bb1de
commit 3162a9fb11
1 changed files with 13 additions and 0 deletions

13
modules/paperless.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, pkgs, lib, ... }:
{
services.paperless = {
enable = true;
address = "0.0.0.0";
port = 58080;
extraConfig.PAPERLESS_OCR_LANGUAGE = "fr+eng";
};
systemd.services.paperless-scheduler.after = ["var-lib-paperless.mount"];
systemd.services.paperless-consumer.after = ["var-lib-paperless.mount"];
systemd.services.paperless-web.after = ["var-lib-paperless.mount"];
}