19 lines
526 B
Nix
19 lines
526 B
Nix
{pkgs, ... }:
|
|
{
|
|
imports =
|
|
[ # Include the results of the hardware scan.
|
|
# <nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix>
|
|
];
|
|
|
|
# Enable CUPS to print documents.
|
|
services.printing.enable = true;
|
|
services.printing.drivers = with pkgs; [ brgenml1lpr brgenml1cupswrapper ];
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
openFirewall = true;
|
|
};
|
|
services.printing.cups-pdf.enable = true;
|
|
hardware.sane.brscan4.enable = true; # enables support for SANE scanners
|
|
}
|