2022-05-25 19:21:31 -04:00
|
|
|
{ config, pkgs, ... }:
|
2022-02-15 15:11:41 -05:00
|
|
|
{
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
2022-05-25 19:21:31 -04:00
|
|
|
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
|
|
|
|
2022-05-25 19:21:31 -04: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
|
2022-05-25 19:21:31 -04:00
|
|
|
cups-filters
|
2022-02-21 15:31:29 -05:00
|
|
|
];
|
2022-02-15 15:11:41 -05:00
|
|
|
}
|