1
0
Fork 0

Still trying to get the scanner working

This commit is contained in:
Paul Hartman 2025-04-29 04:01:50 -05:00
parent 8c0ebcdfd8
commit cd47f207c6

View file

@ -8,6 +8,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix> # Brother Printer support??
# ./packages.nix # ./packages.nix
]; ];
@ -90,6 +91,15 @@ fileSystems."/mnt/nas/media2" = {
}; };
}; };
hardware = {
sane = {
enable = true;
brscan4 = {
enable = true;
};
};
};
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc. services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc.
hardware.nvidia-container-toolkit.enable = true; hardware.nvidia-container-toolkit.enable = true;
@ -258,6 +268,8 @@ fileSystems."/mnt/nas/media2" = {
"video" "video"
"render" "render"
"audio" "audio"
"scanner"
"lp"
]; ];
packages = with pkgs; [ packages = with pkgs; [