fix: Fix default scanner device, update scan2paperless
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Benjamin Bädorf 2023-08-29 11:13:08 +02:00
parent e5f118dfc0
commit 0f430a625e
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 9 additions and 8 deletions

View file

@ -528,11 +528,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1686412476, "lastModified": 1693158576,
"narHash": "sha256-inl9SVk6o5h75XKC79qrDCAobTD1Jxh6kVYTZKHzewA=", "narHash": "sha256-aRTTXkYvhXosGx535iAFUaoFboUrZSYb1Ooih/auGp0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "21951114383770f96ae528d0ae68824557768e81", "rev": "a999c1cc0c9eb2095729d5aa03e0d8f7ed256780",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -568,11 +568,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1686513257, "lastModified": 1693298356,
"narHash": "sha256-KCC4QNPz784V7yRKVqDuVX7NbdfjoA5smQ4oXoroNog=", "narHash": "sha256-bOwygw67/iX2kAFCwsnmEjIXnE22S0tumoLc6j5OepE=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "105e066bf6498ab04fcab7cdffa1c59b3ebe253d", "rev": "a66e3c9f80f7cc45beefd1408cec92553d3301e0",
"revCount": 9, "revCount": 11,
"type": "git", "type": "git",
"url": "https://git.pub.solar/b12f/scan2paperless.git" "url": "https://git.pub.solar/b12f/scan2paperless.git"
}, },

View file

@ -37,7 +37,7 @@ in {
runnerVarsFile = config.age.secrets.drone-runner-exec-config.path; runnerVarsFile = config.age.secrets.drone-runner-exec-config.path;
}; };
pub-solar.paperless.scannerDefaultDevice = "hp3900:libusb:005:002"; pub-solar.paperless.scannerDefaultDevice = "hp3900:libusb:005:004";
services.openssh.openFirewall = true; services.openssh.openFirewall = true;
networking.firewall.allowedTCPPorts = networking.firewall.allowedTCPPorts =

View file

@ -49,6 +49,7 @@ in {
ocrLanguage = "nld+deu"; ocrLanguage = "nld+deu";
dataDir = "/home/${psCfg.user.name}/Nextcloud/Paperless"; dataDir = "/home/${psCfg.user.name}/Nextcloud/Paperless";
consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir"; consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir";
scannerDefaultDevice = "hp3900:libusb:005:004";
}; };
arduino.enable = true; arduino.enable = true;