Adapt SANE configuration to new device

This commit is contained in:
coolneng 2020-09-29 01:24:59 +02:00
parent 6a47bd824e
commit 97662f1d2b
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 10 additions and 4 deletions

View File

@ -106,6 +106,7 @@
./modules/power.nix ./modules/power.nix
./modules/cachix.nix ./modules/cachix.nix
./overlays/emacs.nix ./overlays/emacs.nix
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix>
]; ];
} }

View File

@ -7,9 +7,14 @@
# Enable SANE # Enable SANE
hardware.sane = { hardware.sane = {
enable = true; enable = true;
netConf = '' brscan4 = {
192.168.1.2 enable = true;
10.8.0.1 netDevices = {
''; home = {
model = "DCP-L2530DW";
ip = "192.168.1.66";
};
};
};
}; };
} }