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/cachix.nix
./overlays/emacs.nix
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix>
];
}

View File

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