forked from pub-solar/os
fae: enable scanning backend, increase nginx max body
This commit is contained in:
parent
08791a6508
commit
bc29f641bc
|
@ -20,6 +20,7 @@
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
allowSFTP = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|
|
@ -48,17 +48,17 @@ in {
|
||||||
dataDir = dataDir;
|
dataDir = dataDir;
|
||||||
address = "127.0.0.1";
|
address = "127.0.0.1";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
PAPERLESS_OCR_LANGUAGE = "nld+deu";
|
|
||||||
PAPERLESS_ADMIN_USER = psCfg.user.name;
|
PAPERLESS_ADMIN_USER = psCfg.user.name;
|
||||||
PAPERLESS_AUTO_LOGIN_USERNAME = psCfg.user.name;
|
PAPERLESS_AUTO_LOGIN_USERNAME = psCfg.user.name;
|
||||||
PAPERLESS_URL = "https://paperless.faenix.eu";
|
PAPERLESS_URL = "https://paperless.faenix.eu";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#hardware.sane = {
|
hardware.sane = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# extraBackends = [pkgs.hplipWithPlugin];
|
# No aarch64 support for now
|
||||||
#};
|
#brscan5.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
users.users."${psCfg.user.name}".packages = with pkgs; [
|
users.users."${psCfg.user.name}".packages = with pkgs; [
|
||||||
scan2paperless
|
scan2paperless
|
||||||
|
@ -85,6 +85,7 @@ in {
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
clientMaxBodySize = "256m";
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"paperless.faenix.eu" = {
|
"paperless.faenix.eu" = {
|
||||||
|
|
Loading…
Reference in a new issue