2020-05-14 03:04:30 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Enable CUPS
|
2020-09-29 09:57:30 +02:00
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = with pkgs; [ brgenml1cupswrapper ];
|
|
|
|
};
|
2020-05-14 03:04:30 +02:00
|
|
|
|
|
|
|
# Enable SANE
|
|
|
|
hardware.sane = {
|
|
|
|
enable = true;
|
2020-09-29 01:24:59 +02:00
|
|
|
brscan4 = {
|
|
|
|
enable = true;
|
|
|
|
netDevices = {
|
|
|
|
home = {
|
|
|
|
model = "DCP-L2530DW";
|
|
|
|
ip = "192.168.1.66";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2020-05-14 03:04:30 +02:00
|
|
|
};
|
|
|
|
}
|