diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index 8d6cfca..c22484e 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -17,6 +17,7 @@ with lib; { ./networking.nix ./git.nix ./nextcloud.nix + ./paperless.nix ./docker.nix ./nfs.nix ../../gc.nix @@ -113,6 +114,11 @@ with lib; { reverse_proxy http://127.0.0.1:3001 ''; }; + "paperless.heroin.trade" = { + extraConfig = '' + reverse_proxy http://127.0.0.1:28981 + ''; + }; }; }; diff --git a/hosts/x86_64-linux/beleth/paperless.nix b/hosts/x86_64-linux/beleth/paperless.nix new file mode 100644 index 0000000..61e095c --- /dev/null +++ b/hosts/x86_64-linux/beleth/paperless.nix @@ -0,0 +1,6 @@ +{config, lib, inputs, ...}: +{ +services.paperless.enable = true; + enable = true; + passwordFile = "/etc/paperless_sc"; +}