From f9821001ab359b56251f3390e2a7c1b457570ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Tue, 11 Mar 2025 20:24:37 +0100 Subject: [PATCH] installing the ScanSnap S1500 --- common.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index f92a081..c6562d6 100644 --- a/common.nix +++ b/common.nix @@ -94,7 +94,7 @@ initialPassword = "asunarovow"; isNormalUser = true; description = "Khaïs COLIN"; - extraGroups = ["networkmanager" "wheel" "podman" "libvirtd" "music" "cdrom"]; + extraGroups = ["networkmanager" "wheel" "podman" "libvirtd" "music" "cdrom" "scanner" "lp"]; shell = pkgs.fish; }; # access to /pile/Music @@ -328,5 +328,10 @@ serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy"; }; + # scanner + # https://nixos.wiki/wiki/Scanners + hardware.sane.enable = true; + hardware.sane.drivers.scanSnap.enable = true; + home-manager.backupFileExtension = "backup"; }