nixfleet/modules/printing/default.nix
2024-01-10 01:31:58 +01:00

14 lines
381 B
Nix

{pkgs, ...}: {
services.avahi.enable = true;
# Important to resolve .local domains of printers, otherwise you get an error
# like "Impossible to connect to XXX.local: Name or service not known"
services.avahi.nssmdns4 = true;
hardware.sane.enable = true;
services.printing = {
enable = true;
drivers = [
(pkgs.callPackage ./driver.nix {})
];
};
}