hardware.printers.ensurePrinters.*.deviceUri

NixOS option

How to reach the printer. lpinfo -v shows a list of supported device URIs and schemes.

type: string
Example
"ipp://printserver.local/printers/BrotherHL_Workroom"
"usb://HP/DESKJET%20940C?serial=CN16E6C364BH"
declared in: nixos/modules/hardware/printers.nixView source on NixOS/nixpkgs →