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
commit 34f19a4686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.