System/modules/printing.nix

24 lines
367 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2022-02-15 15:11:41 -05:00
{
services.printing = {
enable = true;
drivers = with pkgs; [
canon-cups-ufr2
carps-cups
cnijfilter2
2022-02-15 15:11:41 -05:00
];
};
2022-02-21 15:31:29 -05:00
# Enable avahi for printer discovery
services.avahi = {
enable = true;
nssmdns = true;
};
2022-02-22 04:54:51 -05:00
environment.systemPackages = with pkgs; [
canon-cups-ufr2
cups
cups-filters
2022-02-21 15:31:29 -05:00
];
2022-02-15 15:11:41 -05:00
}