nas: paperless: enable
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
./nginx.nix
|
./nginx.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
./paperless.nix
|
||||||
]
|
]
|
||||||
|
|
||||||
# picom, polybar and sxhkd are pulled from desktop module
|
# picom, polybar and sxhkd are pulled from desktop module
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
passwordFile = config.age.secrets."services/paperless/pwFile".path;
|
passwordFile = config.age.secrets."services/paperless/pwFile".path;
|
||||||
# environmentFile = config.age.secrets."services/paperless/environment".path;
|
# environmentFile = config.age.secrets."services/paperless/environment".path;
|
||||||
configureTika = true;
|
configureTika = true;
|
||||||
configureNginx = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||||
PAPERLESS_OCR_USER_ARGS = {
|
PAPERLESS_OCR_USER_ARGS = {
|
||||||
@@ -21,15 +20,15 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.nginx = {
|
services.nginx = {
|
||||||
# virtualHosts = {
|
virtualHosts = {
|
||||||
# "vault.home.opel-online.de" = {
|
"paperless.home.opel-online.de" = {
|
||||||
# useACMEHost = "home.opel-online.de";
|
useACMEHost = "home.opel-online.de";
|
||||||
# forceSSL = true;
|
forceSSL = true;
|
||||||
# locations."/".proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}";
|
locations."/".proxyPass = "http://127.0.0.1:${toString config.services.paperless.port}";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
|
||||||
age.secrets."services/paperless/pwFile" = {
|
age.secrets."services/paperless/pwFile" = {
|
||||||
file = ../../../secrets/services/paperless/pwFile.age;
|
file = ../../../secrets/services/paperless/pwFile.age;
|
||||||
|
|||||||
Reference in New Issue
Block a user