diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2020-06-20 10:15:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-20 10:15:30 +0200 |
commit | 34f19a46862d19a5fca920e9e57fdecc8beabc6f (patch) | |
tree | 57bc66a28bcf320063dd53c619ed3492ae9fa5ad /nixos/modules/hardware | |
parent | fe1245d5553e256afc1013a551e908566560d067 (diff) | |
parent | 6a7713449fa8016f62eeb5dc8bd66223bd743e4a (diff) |
Merge pull request #86253 from erictapen/printers-example
nixos/printers: fix example for hardware.printers.ensurePrinters.*.model
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/printers.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/printers.nix b/nixos/modules/hardware/printers.nix index 56b91933477d..752de41f26de 100644 --- a/nixos/modules/hardware/printers.nix +++ b/nixos/modules/hardware/printers.nix @@ -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. |