forked from pub-solar/os
1
0
Fork 0

fae: enable scanning backend, increase nginx max body

main
teutat3s 2024-04-15 13:20:34 +02:00
parent 08791a6508
commit bc29f641bc
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
2 changed files with 7 additions and 5 deletions

View File

@ -20,6 +20,7 @@
services.openssh = {
enable = true;
openFirewall = true;
allowSFTP = true;
};
boot.kernelParams = [

View File

@ -48,17 +48,17 @@ in {
dataDir = dataDir;
address = "127.0.0.1";
extraConfig = {
PAPERLESS_OCR_LANGUAGE = "nld+deu";
PAPERLESS_ADMIN_USER = psCfg.user.name;
PAPERLESS_AUTO_LOGIN_USERNAME = psCfg.user.name;
PAPERLESS_URL = "https://paperless.faenix.eu";
};
};
#hardware.sane = {
# enable = true;
# extraBackends = [pkgs.hplipWithPlugin];
#};
hardware.sane = {
enable = true;
# No aarch64 support for now
#brscan5.enable = true;
};
users.users."${psCfg.user.name}".packages = with pkgs; [
scan2paperless
@ -85,6 +85,7 @@ in {
recommendedGzipSettings = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
clientMaxBodySize = "256m";
virtualHosts = {
"paperless.faenix.eu" = {