summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-29 16:57:18 +0200
committerpennae <github@quasiparticle.net>2022-08-31 16:32:54 +0200
commit515c4727faaa86ad9ef9c270d34c0de30cf8d2bc (patch)
treea6cd5816b2b984c2d143842ef3f8e2839d8ddaba /nixos
parent9547123258f69efd92b54763051d6dc7f3bfcaca (diff)
nixos/*: md-"convert" empty descriptions
for some reason these are not picked up properly by nix-doc-munge, so we'll do this instead.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/backup/bacula.nix2
-rw-r--r--nixos/modules/services/cluster/hadoop/default.nix2
-rw-r--r--nixos/modules/services/mail/postfix.nix2
-rw-r--r--nixos/modules/services/networking/quicktun.nix22
-rw-r--r--nixos/modules/services/networking/xinetd.nix2
-rw-r--r--nixos/modules/services/torrent/transmission.nix2
-rw-r--r--nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix2
7 files changed, 17 insertions, 17 deletions
diff --git a/nixos/modules/services/backup/bacula.nix b/nixos/modules/services/backup/bacula.nix
index cb8a6eb4390c..d4f6ac8f5d37 100644
--- a/nixos/modules/services/backup/bacula.nix
+++ b/nixos/modules/services/backup/bacula.nix
@@ -195,7 +195,7 @@ let
};
devices = mkOption {
- description = "";
+ description = lib.mdDoc "";
type = types.listOf types.str;
};
diff --git a/nixos/modules/services/cluster/hadoop/default.nix b/nixos/modules/services/cluster/hadoop/default.nix
index 9139b9eb734d..72bf25c21146 100644
--- a/nixos/modules/services/cluster/hadoop/default.nix
+++ b/nixos/modules/services/cluster/hadoop/default.nix
@@ -203,7 +203,7 @@ with lib;
type = types.package;
default = pkgs.hadoop;
defaultText = literalExpression "pkgs.hadoop";
- description = "";
+ description = lib.mdDoc "";
};
};
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix
index 4868a57ee64c..5461e89a801d 100644
--- a/nixos/modules/services/mail/postfix.nix
+++ b/nixos/modules/services/mail/postfix.nix
@@ -70,7 +70,7 @@ let
privileged = mkOption {
type = types.bool;
example = true;
- description = "";
+ description = lib.mdDoc "";
};
chroot = mkOption {
diff --git a/nixos/modules/services/networking/quicktun.nix b/nixos/modules/services/networking/quicktun.nix
index e2282b9aaf7c..7aed972adc88 100644
--- a/nixos/modules/services/networking/quicktun.nix
+++ b/nixos/modules/services/networking/quicktun.nix
@@ -20,65 +20,65 @@ with lib;
type = types.int;
default = 0;
example = 1;
- description = "";
+ description = lib.mdDoc "";
};
remoteAddress = mkOption {
type = types.str;
example = "tunnel.example.com";
- description = "";
+ description = lib.mdDoc "";
};
localAddress = mkOption {
type = types.str;
example = "0.0.0.0";
- description = "";
+ description = lib.mdDoc "";
};
localPort = mkOption {
type = types.int;
default = 2998;
- description = "";
+ description = lib.mdDoc "";
};
remotePort = mkOption {
type = types.int;
default = 2998;
- description = "";
+ description = lib.mdDoc "";
};
remoteFloat = mkOption {
type = types.int;
default = 0;
- description = "";
+ description = lib.mdDoc "";
};
protocol = mkOption {
type = types.str;
default = "nacltai";
- description = "";
+ description = lib.mdDoc "";
};
privateKey = mkOption {
type = types.str;
- description = "";
+ description = lib.mdDoc "";
};
publicKey = mkOption {
type = types.str;
- description = "";
+ description = lib.mdDoc "";
};
timeWindow = mkOption {
type = types.int;
default = 5;
- description = "";
+ description = lib.mdDoc "";
};
upScript = mkOption {
type = types.lines;
default = "";
- description = "";
+ description = lib.mdDoc "";
};
};
});
diff --git a/nixos/modules/services/networking/xinetd.nix b/nixos/modules/services/networking/xinetd.nix
index 2b96032bc948..2ec0cd18dcba 100644
--- a/nixos/modules/services/networking/xinetd.nix
+++ b/nixos/modules/services/networking/xinetd.nix
@@ -105,7 +105,7 @@ in
flags = mkOption {
type = types.str;
default = "";
- description = "";
+ description = lib.mdDoc "";
};
unlisted = mkOption {
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix
index 28ff015ee8e9..c18ac89cfbd0 100644
--- a/nixos/modules/services/torrent/transmission.nix
+++ b/nixos/modules/services/torrent/transmission.nix
@@ -71,7 +71,7 @@ in
options.incomplete-dir-enabled = mkOption {
type = types.bool;
default = true;
- description = "";
+ description = lib.mdDoc "";
};
options.message-level = mkOption {
type = types.ints.between 0 3;
diff --git a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
index 426aa021c8bf..1dde55074336 100644
--- a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
+++ b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
@@ -58,7 +58,7 @@ in
version = mkOption {
default = 2;
type = types.enum [ 0 1 2 3 4 ];
- description = "";
+ description = lib.mdDoc "";
};
uboot = {