From f29d5e82fe18d75e5bf6b1f38ee61e2e3e8d85a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 4 Aug 2022 09:55:44 +0100 Subject: [PATCH] support for epson scanner --- nixos/boxes/{rpi4-8 => homescreen}/default.nix | 0 nixos/boxes/{bolty => homescreen}/homeassistant.nix | 0 nixos/common-hardware.nix | 10 ++++++++-- 3 files changed, 8 insertions(+), 2 deletions(-) rename nixos/boxes/{rpi4-8 => homescreen}/default.nix (100%) rename nixos/boxes/{bolty => homescreen}/homeassistant.nix (100%) diff --git a/nixos/boxes/rpi4-8/default.nix b/nixos/boxes/homescreen/default.nix similarity index 100% rename from nixos/boxes/rpi4-8/default.nix rename to nixos/boxes/homescreen/default.nix diff --git a/nixos/boxes/bolty/homeassistant.nix b/nixos/boxes/homescreen/homeassistant.nix similarity index 100% rename from nixos/boxes/bolty/homeassistant.nix rename to nixos/boxes/homescreen/homeassistant.nix diff --git a/nixos/common-hardware.nix b/nixos/common-hardware.nix index e33e98da..e361172e 100644 --- a/nixos/common-hardware.nix +++ b/nixos/common-hardware.nix @@ -89,10 +89,16 @@ } ]; + services.udev.packages = [ pkgs.utsushi ]; hardware.sane = { enable = true; - extraBackends = with pkgs; - [ nixpkgs-nixos-unstable-and-unfree.samsung-unified-linux-driver ]; + snapshot = true; + extraBackends = with pkgs; [ + nixpkgs-nixos-unstable-and-unfree.samsung-unified-linux-driver + utsushi + sane-airscan + gawk + ]; }; powerManagement = {