grimm-nixos-laptop/modules/printing.nix
LordGrimmauld 60b9307662 some misc changes
- try cachix, but broken
 - add nvim
 - update stuff
2024-01-31 17:04:50 +01:00

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
}