Merge pull request #86253 from erictapen/printers-example

nixos/printers: fix example for hardware.printers.ensurePrinters.*.model
This commit is contained in:
Michele Guerini Rocco
2020-06-20 10:15:30 +02:00
committed by GitHub

View File

@@ -84,7 +84,7 @@ in {
model = mkOption {
type = types.str;
example = literalExample ''
gutenprint.''${lib.version.majorMinor (lib.getVersion pkgs.cups)}://brother-hl-5140/expert
gutenprint.''${lib.versions.majorMinor (lib.getVersion pkgs.gutenprint)}://brother-hl-5140/expert
'';
description = ''
Location of the ppd driver file for the printer.