nixos/printers: fix example for hardware.printers.ensurePrinters.*.model
It's `lib.versions`, not `lib.version`. Also I'm really sure that it's supposed to be the current version of Gutenprint, not Cups, as thats what `lpinfo -m` says on my system.
This commit is contained in:
parent
4426104c8c
commit
6a7713449f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue