Scanners: Difference between revisions
imported>Samueldr m →Enable Network Scanning: Makes use of {{issue}} template. |
imported>Ciil No edit summary |
||
Line 38: | Line 38: | ||
}; | }; | ||
}</syntaxhighlight> | }</syntaxhighlight> | ||
=== Brother === | |||
Brother currently provides four versions of scanner backends for various generations of its scanners. The newest (brscan4) is supported as a loadable submodule in NixOS. It can be activated by including the appropriate file in configuration.nix: | |||
<syntaxhighlight lang="nix">{ | |||
imports = [ | |||
<nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix> | |||
./hardware-configuration.nix | |||
]; | |||
}</syntaxhighlight> | |||
Then just add a scanner in the sane module: | |||
<syntaxhighlight lang="nix">{ | |||
hardware = { | |||
sane = { | |||
enable = true; | |||
brscan4 = { | |||
enable = true; | |||
netDevices = { | |||
home = { model = "MFC-L2700DN"; ip = "192.168.178.23"; }; | |||
}; | |||
}; | |||
}; | |||
}; | |||
}</syntaxhighlight> | |||
It ''can'' take sane an actual reboot to pick up on the configuration changes. | |||
== Gimp plugin == | == Gimp plugin == |