diff --git a/flake.lock b/flake.lock index b6aed3a..11fce84 100644 --- a/flake.lock +++ b/flake.lock @@ -528,11 +528,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1686412476, - "narHash": "sha256-inl9SVk6o5h75XKC79qrDCAobTD1Jxh6kVYTZKHzewA=", + "lastModified": 1693158576, + "narHash": "sha256-aRTTXkYvhXosGx535iAFUaoFboUrZSYb1Ooih/auGp0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "21951114383770f96ae528d0ae68824557768e81", + "rev": "a999c1cc0c9eb2095729d5aa03e0d8f7ed256780", "type": "github" }, "original": { @@ -568,11 +568,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1686513257, - "narHash": "sha256-KCC4QNPz784V7yRKVqDuVX7NbdfjoA5smQ4oXoroNog=", + "lastModified": 1693298356, + "narHash": "sha256-bOwygw67/iX2kAFCwsnmEjIXnE22S0tumoLc6j5OepE=", "ref": "refs/heads/main", - "rev": "105e066bf6498ab04fcab7cdffa1c59b3ebe253d", - "revCount": 9, + "rev": "a66e3c9f80f7cc45beefd1408cec92553d3301e0", + "revCount": 11, "type": "git", "url": "https://git.pub.solar/b12f/scan2paperless.git" }, diff --git a/hosts/chocolatebar/chocolatebar.nix b/hosts/chocolatebar/chocolatebar.nix index 158eded..f1c9e98 100644 --- a/hosts/chocolatebar/chocolatebar.nix +++ b/hosts/chocolatebar/chocolatebar.nix @@ -37,7 +37,7 @@ in { 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; networking.firewall.allowedTCPPorts = diff --git a/users/ben/default.nix b/users/ben/default.nix index a074940..bcd8028 100644 --- a/users/ben/default.nix +++ b/users/ben/default.nix @@ -49,6 +49,7 @@ in { ocrLanguage = "nld+deu"; dataDir = "/home/${psCfg.user.name}/Nextcloud/Paperless"; consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir"; + scannerDefaultDevice = "hp3900:libusb:005:004"; }; arduino.enable = true;