fix(paperless): Try to workaround a bug in classification
This commit is contained in:
parent
2df78829b6
commit
d72474a3e7
1 changed files with 5 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, lib, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
authorityFromUrl = url:
|
authorityFromUrl = url:
|
||||||
builtins.head (pkgs.lib.drop 1 (pkgs.lib.splitString "://" url));
|
builtins.head (pkgs.lib.drop 1 (pkgs.lib.splitString "://" url));
|
||||||
|
|
@ -296,6 +296,10 @@ in {
|
||||||
PAPERLESS_URL = "https://docs.failco.de";
|
PAPERLESS_URL = "https://docs.failco.de";
|
||||||
PAPERLESS_CONSUMER_RECURSIVE = true;
|
PAPERLESS_CONSUMER_RECURSIVE = true;
|
||||||
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true;
|
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true;
|
||||||
|
|
||||||
|
# workaround for classification getting stuck, see
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/240591#issuecomment-1915678490
|
||||||
|
OMP_NUM_THREADS = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue