This commit is contained in:
Lucy Hochkamp 2025-08-26 00:58:27 +02:00
parent 414e830efa
commit d3a93fd115
No known key found for this signature in database
35 changed files with 1832 additions and 228 deletions

View file

@ -0,0 +1,25 @@
{
pkgs,
config,
lib,
...
}:
{
xyno.services.caddy.wildcardHosts."hailsatan.eu".hosts.paperless.extraConfig =
"import reverse_proxy_auth http://${config.services.paperless.address}:${toString config.services.paperless.port}";
xyno.impermanence.directories = [ config.services.paperless.dataDir ];
xyno.services.authentik.proxyApps.paperless = {
externalHost = "https://paperless.hailsatan.eu";
name = "Paperless";
groups = [ "admin" ];
};
services.paperless = {
configureTika = true;
enable = true;
database.createLocally = true;
exporter = {
enable = true;
directory = "/data/paperless-export";
};
};
}