summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware/printers.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/hardware/printers.nix')
-rw-r--r--nixos/modules/hardware/printers.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/hardware/printers.nix b/nixos/modules/hardware/printers.nix
index 4fb6a192cdd2..de2f84d4831b 100644
--- a/nixos/modules/hardware/printers.nix
+++ b/nixos/modules/hardware/printers.nix
@@ -35,12 +35,12 @@ in {
ensureDefaultPrinter = mkOption {
type = types.nullOr printerName;
default = null;
- description = lib.mdDoc ''
+ description = ''
Ensures the named printer is the default CUPS printer / printer queue.
'';
};
ensurePrinters = mkOption {
- description = lib.mdDoc ''
+ description = ''
Will regularly ensure that the given CUPS printers are configured as declared here.
If a printer's options are manually changed afterwards, they will be overwritten eventually.
This option will never delete any printer, even if removed from this list.
@@ -54,7 +54,7 @@ in {
name = mkOption {
type = printerName;
example = "BrotherHL_Workroom";
- description = lib.mdDoc ''
+ description = ''
Name of the printer / printer queue.
May contain any printable characters except "/", "#", and space.
'';
@@ -63,7 +63,7 @@ in {
type = types.nullOr types.str;
default = null;
example = "Workroom";
- description = lib.mdDoc ''
+ description = ''
Optional human-readable location.
'';
};
@@ -71,7 +71,7 @@ in {
type = types.nullOr types.str;
default = null;
example = "Brother HL-5140";
- description = lib.mdDoc ''
+ description = ''
Optional human-readable description.
'';
};
@@ -81,7 +81,7 @@ in {
"ipp://printserver.local/printers/BrotherHL_Workroom"
"usb://HP/DESKJET%20940C?serial=CN16E6C364BH"
'';
- description = lib.mdDoc ''
+ description = ''
How to reach the printer.
{command}`lpinfo -v` shows a list of supported device URIs and schemes.
'';
@@ -91,7 +91,7 @@ in {
example = literalExpression ''
"gutenprint.''${lib.versions.majorMinor (lib.getVersion pkgs.gutenprint)}://brother-hl-5140/expert"
'';
- description = lib.mdDoc ''
+ description = ''
Location of the ppd driver file for the printer.
{command}`lpinfo -m` shows a list of supported models.
'';
@@ -103,7 +103,7 @@ in {
Duplex = "DuplexNoTumble";
};
default = {};
- description = lib.mdDoc ''
+ description = ''
Sets PPD options for the printer.
{command}`lpoptions [-p printername] -l` shows supported PPD options for the given printer.
'';