hardware.printers.ensurePrinters

Will regularly ensure that the given CUPS printers are configured as declared here. If a printer's options are manually changed afterwards, they will be overwritten eventually. This option will never delete any printer, even if removed from this list. You can check existing printers with lpstat -s and remove printers with lpadmin -x . Printers not listed here can still be manually configured.

Type
list of (submodule)
Default
[ ]
Declared
<nixpkgs/nixos/modules/hardware/printers.nix>