panacea/modules/printing.nix

22 lines
347 B
Nix
Raw Normal View History

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.13.4";
2020-09-29 01:24:59 +02:00
};
};
2020-05-14 03:04:30 +02:00
};
}