mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 21:20:32 +01:00
Add paperless
This commit is contained in:
parent
a0000dc67f
commit
c080e45ac4
|
@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
6
hosts/x86_64-linux/beleth/paperless.nix
Normal file
6
hosts/x86_64-linux/beleth/paperless.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{config, lib, inputs, ...}:
|
||||||
|
{
|
||||||
|
services.paperless.enable = true;
|
||||||
|
enable = true;
|
||||||
|
passwordFile = "/etc/paperless_sc";
|
||||||
|
}
|
Loading…
Reference in a new issue