19 lines
493 B
Nix
19 lines
493 B
Nix
|
with import <nixpkgs> {};
|
||
|
{
|
||
|
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;
|
||
|
nssmdns = true;
|
||
|
openFirewall = true;
|
||
|
};
|
||
|
|
||
|
hardware.sane.brscan4.enable = true; # enables support for SANE scanners
|
||
|
}
|