diff --git a/flake.lock b/flake.lock index 72561a7..aa19f26 100644 --- a/flake.lock +++ b/flake.lock @@ -221,11 +221,11 @@ }, "latest": { "locked": { - "lastModified": 1675115703, - "narHash": "sha256-4zetAPSyY0D77x+Ww9QBe8RHn1akvIvHJ/kgg8kGDbk=", + "lastModified": 1675673983, + "narHash": "sha256-8hzNh1jtiPxL5r3ICNzSmpSzV7kGb3KwX+FS5BWJUTo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2caf4ef5005ecc68141ecb4aac271079f7371c44", + "rev": "5a350a8f31bb7ef0c6e79aea3795a890cf7743d4", "type": "github" }, "original": { @@ -237,11 +237,11 @@ }, "master": { "locked": { - "lastModified": 1675254005, - "narHash": "sha256-n1qq2Qcz7DvPiB6emdRk/dx4uUgaFy0ojgKg3NBIwTU=", + "lastModified": 1675775932, + "narHash": "sha256-ysv4pFsZBU+/CZ01LbQW2T9HxRcR0LXBcAP1vYWQZag=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1efc432d4f72c0e3146c1dd2e8a3ffa705be8a04", + "rev": "e521a883757b06720d28d4a303e0b4f7f0d7fcfc", "type": "github" }, "original": { @@ -268,11 +268,11 @@ }, "nixos": { "locked": { - "lastModified": 1675154384, - "narHash": "sha256-gUXzyTS3WsO3g2Rz0qOYR2a26whkyL2UfTr1oPH9mm8=", + "lastModified": 1675681488, + "narHash": "sha256-0E/oYpixC+joFk7UrY60TwZcdthzP2BXmJwne3Ni8ZI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0218941ea68b4c625533bead7bbb94ccce52dceb", + "rev": "13fdd3945d8a2da5e4afe35d8a629193a9680911", "type": "github" }, "original": { diff --git a/hosts/chocolatebar/chocolatebar.nix b/hosts/chocolatebar/chocolatebar.nix index e1011b1..85ee84e 100644 --- a/hosts/chocolatebar/chocolatebar.nix +++ b/hosts/chocolatebar/chocolatebar.nix @@ -37,6 +37,8 @@ in { runnerVarsFile = config.age.secrets.drone-runner-exec-config.path; }; + pub-solar.paperless.scannerDefaultDevice = "hp3900:libusb:005:002"; + services.openssh.openFirewall = true; networking.firewall.allowedTCPPorts = [443] diff --git a/overlays/overrides.nix b/overlays/overrides.nix index ad07073..8c40010 100644 --- a/overlays/overrides.nix +++ b/overlays/overrides.nix @@ -31,6 +31,7 @@ channels: final: prev: { inherit (channels.master) factorio-headless + paperless-ngx ; haskellPackages = diff --git a/users/ben/default.nix b/users/ben/default.nix index da9dffd..c716553 100644 --- a/users/ben/default.nix +++ b/users/ben/default.nix @@ -42,8 +42,9 @@ in { }; paperless = { - enable = false; + enable = true; ocrLanguage = "nld+deu"; + consumptionDir = "/home/${psCfg.user.name}/Documents/Scans"; }; arduino.enable = true; email.enable = true;