Still trying to get the scanner working
This commit is contained in:
parent
8c0ebcdfd8
commit
cd47f207c6
1 changed files with 12 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix> # Brother Printer support??
|
||||
# ./packages.nix
|
||||
];
|
||||
|
||||
|
@ -90,6 +91,15 @@ fileSystems."/mnt/nas/media2" = {
|
|||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
sane = {
|
||||
enable = true;
|
||||
brscan4 = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc.
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
|
@ -258,6 +268,8 @@ fileSystems."/mnt/nas/media2" = {
|
|||
"video"
|
||||
"render"
|
||||
"audio"
|
||||
"scanner"
|
||||
"lp"
|
||||
];
|
||||
|
||||
packages = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue