From 2b5a972367bef3c31fb2be69af65ed64c8f94628 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Fri, 5 Jul 2024 21:36:38 +0200 Subject: [PATCH] Workaround for scanning --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index ad3fd3b..88f8773 100644 --- a/configuration.nix +++ b/configuration.nix @@ -58,6 +58,12 @@ # Enable scanning hardware.sane.enable = true; + # Workaround for https://github.com/NixOS/nixpkgs/issues/273280 + hardware.sane.backends-package = pkgs.sane-backends.overrideAttrs (old: { + configureFlags = (old.configureFlags or []) ++ [ + "--disable-locking" + ]; + }); hardware.opengl.enable = true;