Add paperless

This commit is contained in:
xqtc161 2024-06-19 11:54:07 +02:00
parent a0000dc67f
commit c080e45ac4
2 changed files with 12 additions and 0 deletions

View file

@ -17,6 +17,7 @@ with lib; {
./networking.nix ./networking.nix
./git.nix ./git.nix
./nextcloud.nix ./nextcloud.nix
./paperless.nix
./docker.nix ./docker.nix
./nfs.nix ./nfs.nix
../../gc.nix ../../gc.nix
@ -113,6 +114,11 @@ with lib; {
reverse_proxy http://127.0.0.1:3001 reverse_proxy http://127.0.0.1:3001
''; '';
}; };
"paperless.heroin.trade" = {
extraConfig = ''
reverse_proxy http://127.0.0.1:28981
'';
};
}; };
}; };

View file

@ -0,0 +1,6 @@
{config, lib, inputs, ...}:
{
services.paperless.enable = true;
enable = true;
passwordFile = "/etc/paperless_sc";
}