summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/home-automation
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-04-13 14:54:15 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2024-04-13 10:07:35 -0700
commit6afb255d976f85f3359e4929abd6f5149c323a02 (patch)
treeced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/home-automation
parent1dd996e59a5e67694b7a252aacba71a88d51b41e (diff)
nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
Diffstat (limited to 'nixos/modules/services/home-automation')
-rw-r--r--nixos/modules/services/home-automation/ebusd.nix40
-rw-r--r--nixos/modules/services/home-automation/esphome.nix15
-rw-r--r--nixos/modules/services/home-automation/evcc.nix6
-rw-r--r--nixos/modules/services/home-automation/home-assistant.nix42
-rw-r--r--nixos/modules/services/home-automation/matter-server.nix2
-rw-r--r--nixos/modules/services/home-automation/wyoming/faster-whisper.nix17
-rw-r--r--nixos/modules/services/home-automation/wyoming/openwakeword.nix15
-rw-r--r--nixos/modules/services/home-automation/wyoming/piper.nix19
-rw-r--r--nixos/modules/services/home-automation/zigbee2mqtt.nix6
-rw-r--r--nixos/modules/services/home-automation/zwave-js.nix14
10 files changed, 86 insertions, 90 deletions
diff --git a/nixos/modules/services/home-automation/ebusd.nix b/nixos/modules/services/home-automation/ebusd.nix
index e1dcfb338421..aaf2ca1d775d 100644
--- a/nixos/modules/services/home-automation/ebusd.nix
+++ b/nixos/modules/services/home-automation/ebusd.nix
@@ -44,13 +44,13 @@ in
meta.maintainers = with maintainers; [ nathan-gs ];
options.services.ebusd = {
- enable = mkEnableOption (lib.mdDoc "ebusd, a daemon for communication with eBUS heating systems");
+ enable = mkEnableOption "ebusd, a daemon for communication with eBUS heating systems";
device = mkOption {
type = types.str;
default = "";
example = "IP:PORT";
- description = lib.mdDoc ''
+ description = ''
Use DEV as eBUS device [/dev/ttyUSB0].
This can be either:
enh:DEVICE or enh:IP:PORT for enhanced device (only adapter v3 and newer),
@@ -64,7 +64,7 @@ in
port = mkOption {
default = 8888;
type = types.port;
- description = lib.mdDoc ''
+ description = ''
The port on which to listen on
'';
};
@@ -72,7 +72,7 @@ in
readonly = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc ''
+ description = ''
Only read from device, never write to it
'';
};
@@ -80,7 +80,7 @@ in
configpath = mkOption {
type = types.str;
default = "https://cfg.ebusd.eu/";
- description = lib.mdDoc ''
+ description = ''
Read CSV config files from PATH (local folder or HTTPS URL) [https://cfg.ebusd.eu/]
'';
};
@@ -88,7 +88,7 @@ in
scanconfig = mkOption {
type = types.str;
default = "full";
- description = lib.mdDoc ''
+ description = ''
Pick CSV config files matching initial scan ("none" or empty for no initial scan message, "full" for full scan, or a single hex address to scan, default is to send a broadcast ident message).
If combined with --checkconfig, you can add scan message data as arguments for checking a particular scan configuration, e.g. "FF08070400/0AB5454850303003277201". For further details on this option,
see [Automatic configuration](https://github.com/john30/ebusd/wiki/4.7.-Automatic-configuration).
@@ -99,7 +99,7 @@ in
main = mkOption {
type = types.enum [ "error" "notice" "info" "debug"];
default = "info";
- description = lib.mdDoc ''
+ description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (error|notice|info|debug) [all:notice].
'';
};
@@ -107,7 +107,7 @@ in
network = mkOption {
type = types.enum [ "error" "notice" "info" "debug"];
default = "info";
- description = lib.mdDoc ''
+ description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (error|notice|info|debug) [all:notice].
'';
};
@@ -115,7 +115,7 @@ in
bus = mkOption {
type = types.enum [ "error" "notice" "info" "debug"];
default = "info";
- description = lib.mdDoc ''
+ description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (error|notice|info|debug) [all:notice].
'';
};
@@ -123,7 +123,7 @@ in
update = mkOption {
type = types.enum [ "error" "notice" "info" "debug"];
default = "info";
- description = lib.mdDoc ''
+ description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (error|notice|info|debug) [all:notice].
'';
};
@@ -131,7 +131,7 @@ in
other = mkOption {
type = types.enum [ "error" "notice" "info" "debug"];
default = "info";
- description = lib.mdDoc ''
+ description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (error|notice|info|debug) [all:notice].
'';
};
@@ -139,7 +139,7 @@ in
all = mkOption {
type = types.enum [ "error" "notice" "info" "debug"];
default = "info";
- description = lib.mdDoc ''
+ description = ''
Only write log for matching AREAs (main|network|bus|update|other|all) below or equal to LEVEL (error|notice|info|debug) [all:notice].
'';
};
@@ -150,7 +150,7 @@ in
enable = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc ''
+ description = ''
Adds support for MQTT
'';
};
@@ -158,7 +158,7 @@ in
host = mkOption {
type = types.str;
default = "localhost";
- description = lib.mdDoc ''
+ description = ''
Connect to MQTT broker on HOST.
'';
};
@@ -166,7 +166,7 @@ in
port = mkOption {
default = 1883;
type = types.port;
- description = lib.mdDoc ''
+ description = ''
The port on which to connect to MQTT
'';
};
@@ -174,7 +174,7 @@ in
home-assistant = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc ''
+ description = ''
Adds the Home Assistant topics to MQTT, read more at [MQTT Integration](https://github.com/john30/ebusd/wiki/MQTT-integration)
'';
};
@@ -182,21 +182,21 @@ in
retain = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc ''
+ description = ''
Set the retain flag on all topics instead of only selected global ones
'';
};
user = mkOption {
type = types.str;
- description = lib.mdDoc ''
+ description = ''
The MQTT user to use
'';
};
password = mkOption {
type = types.str;
- description = lib.mdDoc ''
+ description = ''
The MQTT password.
'';
};
@@ -206,7 +206,7 @@ in
extraArguments = mkOption {
type = types.listOf types.str;
default = [];
- description = lib.mdDoc ''
+ description = ''
Extra arguments to the ebus daemon
'';
};
diff --git a/nixos/modules/services/home-automation/esphome.nix b/nixos/modules/services/home-automation/esphome.nix
index ac623cf36b3a..faae5ec8ff45 100644
--- a/nixos/modules/services/home-automation/esphome.nix
+++ b/nixos/modules/services/home-automation/esphome.nix
@@ -7,7 +7,6 @@ let
mkEnableOption
mkIf
mkOption
- mdDoc
types
;
@@ -24,38 +23,38 @@ in
meta.maintainers = with maintainers; [ oddlama ];
options.services.esphome = {
- enable = mkEnableOption (mdDoc "esphome, for making custom firmwares for ESP32/ESP8266");
+ enable = mkEnableOption "esphome, for making custom firmwares for ESP32/ESP8266";
package = lib.mkPackageOption pkgs "esphome" { };
enableUnixSocket = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc "Listen on a unix socket `/run/esphome/esphome.sock` instead of the TCP port.";
+ description = "Listen on a unix socket `/run/esphome/esphome.sock` instead of the TCP port.";
};
address = mkOption {
type = types.str;
default = "localhost";
- description = mdDoc "esphome address";
+ description = "esphome address";
};
port = mkOption {
type = types.port;
default = 6052;
- description = mdDoc "esphome port";
+ description = "esphome port";
};
openFirewall = mkOption {
default = false;
type = types.bool;
- description = mdDoc "Whether to open the firewall for the specified port.";
+ description = "Whether to open the firewall for the specified port.";
};
allowedDevices = mkOption {
default = ["char-ttyS" "char-ttyUSB"];
example = ["/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0"];
- description = lib.mdDoc ''
+ description = ''
A list of device nodes to which {command}`esphome` has access to.
Refer to DeviceAllow in systemd.resource-control(5) for more information.
Beware that if a device is referred to by an absolute path instead of a device category,
@@ -67,7 +66,7 @@ in
usePing = mkOption {
default = false;
type = types.bool;
- description = lib.mdDoc "Use ping to check online status of devices instead of mDNS";
+ description = "Use ping to check online status of devices instead of mDNS";
};
};
diff --git a/nixos/modules/services/home-automation/evcc.nix b/nixos/modules/services/home-automation/evcc.nix
index f360f525b04b..cf4043c946fa 100644
--- a/nixos/modules/services/home-automation/evcc.nix
+++ b/nixos/modules/services/home-automation/evcc.nix
@@ -19,19 +19,19 @@ in
meta.maintainers = with lib.maintainers; [ hexa ];
options.services.evcc = with types; {
- enable = mkEnableOption (lib.mdDoc "EVCC, the extensible EV Charge Controller with PV integration");
+ enable = mkEnableOption "EVCC, the extensible EV Charge Controller with PV integration";
extraArgs = mkOption {
type = listOf str;
default = [];
- description = lib.mdDoc ''
+ description = ''
Extra arguments to pass to the evcc executable.
'';
};
settings = mkOption {
type = format.type;
- description = lib.mdDoc ''
+ description = ''
evcc configuration as a Nix attribute set.
Check for possible options in the sample [evcc.dist.yaml](https://github.com/andig/evcc/blob/${package.version}/evcc.dist.yaml].
diff --git a/nixos/modules/services/home-automation/home-assistant.nix b/nixos/modules/services/home-automation/home-assistant.nix
index 3423eebe9ed6..d94adfb4aa1c 100644
--- a/nixos/modules/services/home-automation/home-assistant.nix
+++ b/nixos/modules/services/home-automation/home-assistant.nix
@@ -95,12 +95,12 @@ in {
options.services.home-assistant = {
# Running home-assistant on NixOS is considered an installation method that is unsupported by the upstream project.
# https://github.com/home-assistant/architecture/blob/master/adr/0012-define-supported-installation-method.md#decision
- enable = mkEnableOption (lib.mdDoc "Home Assistant. Please note that this installation method is unsupported upstream");
+ enable = mkEnableOption "Home Assistant. Please note that this installation method is unsupported upstream";
configDir = mkOption {
default = "/var/lib/hass";
type = types.path;
- description = lib.mdDoc "The config directory, where your {file}`configuration.yaml` is located.";
+ description = "The config directory, where your {file}`configuration.yaml` is located.";
};
defaultIntegrations = mkOption {
@@ -164,7 +164,7 @@ in {
"wled"
]
'';
- description = lib.mdDoc ''
+ description = ''
List of [components](https://www.home-assistant.io/integrations/) that have their dependencies included in the package.
The component name can be found in the URL, for example `https://www.home-assistant.io/integrations/ffmpeg/` would map to `ffmpeg`.
@@ -183,7 +183,7 @@ in {
psycopg2
];
'';
- description = lib.mdDoc ''
+ description = ''
List of packages to add to propagatedBuildInputs.
A popular example is `python3Packages.psycopg2`
@@ -199,7 +199,7 @@ in {
prometheus_sensor
];
'';
- description = lib.mdDoc ''
+ description = ''
List of custom component packages to install.
Available components can be found below `pkgs.home-assistant-custom-components`.
@@ -215,7 +215,7 @@ in {
mini-media-player
];
'';
- description = lib.mdDoc ''
+ description = ''
List of custom lovelace card packages to load as lovelace resources.
Available cards can be found below `pkgs.home-assistant-custom-lovelace-modules`.
@@ -240,7 +240,7 @@ in {
type = types.nullOr types.str;
default = null;
example = "Home";
- description = lib.mdDoc ''
+ description = ''
Name of the location where Home Assistant is running.
'';
};
@@ -249,7 +249,7 @@ in {
type = types.nullOr (types.either types.float types.str);
default = null;
example = 52.3;
- description = lib.mdDoc ''
+ description = ''
Latitude of your location required to calculate the time the sun rises and sets.
'';
};
@@ -258,7 +258,7 @@ in {
type = types.nullOr (types.either types.float types.str);
default = null;
example = 4.9;
- description = lib.mdDoc ''
+ description = ''
Longitude of your location required to calculate the time the sun rises and sets.
'';
};
@@ -267,7 +267,7 @@ in {
type = types.nullOr (types.enum [ "metric" "imperial" ]);
default = null;
example = "metric";
- description = lib.mdDoc ''
+ description = ''
The unit system to use. This also sets temperature_unit, Celsius for Metric and Fahrenheit for Imperial.
'';
};
@@ -276,7 +276,7 @@ in {
type = types.nullOr (types.enum [ "C" "F" ]);
default = null;
example = "C";
- description = lib.mdDoc ''
+ description = ''
Override temperature unit set by unit_system. `C` for Celsius, `F` for Fahrenheit.
'';
};
@@ -288,7 +288,7 @@ in {
config.time.timeZone or null
'';
example = "Europe/Amsterdam";
- description = lib.mdDoc ''
+ description = ''
Pick your time zone from the column TZ of Wikipedia’s [list of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
'';
};
@@ -303,7 +303,7 @@ in {
"::"
];
example = "::1";
- description = lib.mdDoc ''
+ description = ''
Only listen to incoming requests on specific IP/host. The default listed assumes support for IPv4 and IPv6.
'';
};
@@ -311,7 +311,7 @@ in {
server_port = mkOption {
default = 8123;
type = types.port;
- description = lib.mdDoc ''
+ description = ''
The port on which to listen.
'';
};
@@ -330,7 +330,7 @@ in {
else "storage";
'';
example = "yaml";
- description = lib.mdDoc ''
+ description = ''
In what mode should the main Lovelace panel be, `yaml` or `storage` (UI managed).
'';
};
@@ -354,7 +354,7 @@ in {
feedreader.urls = [ "https://nixos.org/blogs.xml" ];
}
'';
- description = lib.mdDoc ''
+ description = ''
Your {file}`configuration.yaml` as a Nix attribute set.
YAML functions like [secrets](https://www.home-assistant.io/docs/configuration/secrets/)
@@ -369,7 +369,7 @@ in {
configWritable = mkOption {
default = false;
type = types.bool;
- description = lib.mdDoc ''
+ description = ''
Whether to make {file}`configuration.yaml` writable.
This will allow you to edit it from Home Assistant's web interface.
@@ -396,7 +396,7 @@ in {
} ];
}
'';
- description = lib.mdDoc ''
+ description = ''
Your {file}`ui-lovelace.yaml` as a Nix attribute set.
Setting this option will automatically set `lovelace.mode` to `yaml`.
@@ -407,7 +407,7 @@ in {
lovelaceConfigWritable = mkOption {
default = false;
type = types.bool;
- description = lib.mdDoc ''
+ description = ''
Whether to make {file}`ui-lovelace.yaml` writable.
This will allow you to edit it from Home Assistant's web interface.
@@ -439,7 +439,7 @@ in {
];
}
'';
- description = lib.mdDoc ''
+ description = ''
The Home Assistant package to use.
'';
};
@@ -447,7 +447,7 @@ in {
openFirewall = mkOption {
default = false;
type = types.bool;
- description = lib.mdDoc "Whether to open the firewall for the specified port.";
+ description = "Whether to open the firewall for the specified port.";
};
};
diff --git a/nixos/modules/services/home-automation/matter-server.nix b/nixos/modules/services/home-automation/matter-server.nix
index 864ef9e20083..7bf1cfe54d17 100644
--- a/nixos/modules/services/home-automation/matter-server.nix
+++ b/nixos/modules/services/home-automation/matter-server.nix
@@ -17,7 +17,7 @@ in
meta.maintainers = with lib.maintainers; [ leonm1 ];
options.services.matter-server = with types; {
- enable = mkEnableOption (lib.mdDoc "Matter-server");
+ enable = mkEnableOption "Matter-server";
package = mkPackageOptionMD pkgs "python-matter-server" { };
diff --git a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix
index 0c36e8c9ab05..cbff3ab3e617 100644
--- a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix
+++ b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix
@@ -10,7 +10,6 @@ let
inherit (lib)
escapeShellArgs
mkOption
- mdDoc
mkEnableOption
mkPackageOption
types
@@ -28,19 +27,19 @@ in
servers = mkOption {
default = {};
- description = mdDoc ''
+ description = ''
Attribute set of faster-whisper instances to spawn.
'';
type = types.attrsOf (types.submodule (
{ ... }: {
options = {
- enable = mkEnableOption (mdDoc "Wyoming faster-whisper server");
+ enable = mkEnableOption "Wyoming faster-whisper server";
model = mkOption {
type = str;
default = "tiny-int8";
example = "Systran/faster-distil-whisper-small.en";
- description = mdDoc ''
+ description = ''
Name of the voice model to use.
Check the [2.0.0 release notes](https://github.com/rhasspy/wyoming-faster-whisper/releases/tag/v2.0.0) for possible values.
@@ -50,7 +49,7 @@ in
uri = mkOption {
type = strMatching "^(tcp|unix)://.*$";
example = "tcp://0.0.0.0:10300";
- description = mdDoc ''
+ description = ''
URI to bind the wyoming server to.
'';
};
@@ -63,7 +62,7 @@ in
"auto"
];
default = "cpu";
- description = mdDoc ''
+ description = ''
Determines the platform faster-whisper is run on. CPU works everywhere, CUDA requires a compatible NVIDIA GPU.
'';
};
@@ -74,7 +73,7 @@ in
"auto" "af" "am" "ar" "as" "az" "ba" "be" "bg" "bn" "bo" "br" "bs" "ca" "cs" "cy" "da" "de" "el" "en" "es" "et" "eu" "fa" "fi" "fo" "fr" "gl" "gu" "ha" "haw" "he" "hi" "hr" "ht" "hu" "hy" "id" "is" "it" "ja" "jw" "ka" "kk" "km" "kn" "ko" "la" "lb" "ln" "lo" "lt" "lv" "mg" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "ne" "nl" "nn" "no" "oc" "pa" "pl" "ps" "pt" "ro" "ru" "sa" "sd" "si" "sk" "sl" "sn" "so" "sq" "sr" "su" "sv" "sw" "ta" "te" "tg" "th" "tk" "tl" "tr" "tt" "uk" "ur" "uz" "vi" "yi" "yo" "zh"
];
example = "en";
- description = mdDoc ''
+ description = ''
The language used to to parse words and sentences.
'';
};
@@ -83,7 +82,7 @@ in
type = ints.unsigned;
default = 1;
example = 5;
- description = mdDoc ''
+ description = ''
The number of beams to use in beam search.
'';
apply = toString;
@@ -92,7 +91,7 @@ in
extraArgs = mkOption {
type = listOf str;
default = [ ];
- description = mdDoc ''
+ description = ''
Extra arguments to pass to the server commandline.
'';
apply = escapeShellArgs;
diff --git a/nixos/modules/services/home-automation/wyoming/openwakeword.nix b/nixos/modules/services/home-automation/wyoming/openwakeword.nix
index 252f70be2baa..856a4ef7366d 100644
--- a/nixos/modules/services/home-automation/wyoming/openwakeword.nix
+++ b/nixos/modules/services/home-automation/wyoming/openwakeword.nix
@@ -12,7 +12,6 @@ let
concatMapStringsSep
escapeShellArgs
mkOption
- mdDoc
mkEnableOption
mkIf
mkPackageOption
@@ -34,7 +33,7 @@ in
meta.buildDocsInSandbox = false;
options.services.wyoming.openwakeword = with types; {
- enable = mkEnableOption (mdDoc "Wyoming openWakeWord server");
+ enable = mkEnableOption "Wyoming openWakeWord server";
package = mkPackageOption pkgs "wyoming-openwakeword" { };
@@ -42,7 +41,7 @@ in
type = strMatching "^(tcp|unix)://.*$";
default = "tcp://0.0.0.0:10400";
example = "tcp://192.0.2.1:5000";
- description = mdDoc ''
+ description = ''
URI to bind the wyoming server to.
'';
};
@@ -50,7 +49,7 @@ in
customModelsDirectories = mkOption {
type = listOf types.path;
default = [];
- description = lib.mdDoc ''
+ description = ''
Paths to directories with custom wake word models (*.tflite model files).
'';
};
@@ -68,7 +67,7 @@ in
"hey_rhasspy"
"ok_nabu"
];
- description = mdDoc ''
+ description = ''
List of wake word models to preload after startup.
'';
};
@@ -76,7 +75,7 @@ in
threshold = mkOption {
type = float;
default = 0.5;
- description = mdDoc ''
+ description = ''
Activation threshold (0-1), where higher means fewer activations.
See trigger level for the relationship between activations and
@@ -88,7 +87,7 @@ in
triggerLevel = mkOption {
type = int;
default = 1;
- description = mdDoc ''
+ description = ''
Number of activations before a detection is registered.
A higher trigger level means fewer detections.
@@ -99,7 +98,7 @@ in
extraArgs = mkOption {
type = listOf str;
default = [ ];
- description = mdDoc ''
+ description = ''
Extra arguments to pass to the server commandline.
'';
apply = escapeShellArgs;
diff --git a/nixos/modules/services/home-automation/wyoming/piper.nix b/nixos/modules/services/home-automation/wyoming/piper.nix
index 2828fdf07892..5b5f898d7ca3 100644
--- a/nixos/modules/services/home-automation/wyoming/piper.nix
+++ b/nixos/modules/services/home-automation/wyoming/piper.nix
@@ -10,7 +10,6 @@ let
inherit (lib)
escapeShellArgs
mkOption
- mdDoc
mkEnableOption
mkPackageOption
types
@@ -30,20 +29,20 @@ in
servers = mkOption {
default = {};
- description = mdDoc ''
+ description = ''
Attribute set of piper instances to spawn.
'';
type = types.attrsOf (types.submodule (
{ ... }: {
options = {
- enable = mkEnableOption (mdDoc "Wyoming Piper server");
+ enable = mkEnableOption "Wyoming Piper server";
piper = mkPackageOption pkgs "piper-tts" { };
voice = mkOption {
type = str;
example = "en-us-ryan-medium";
- description = mdDoc ''
+ description = ''
Name of the voice model to use. See the following website for samples:
https://rhasspy.github.io/piper-samples/
'';
@@ -52,7 +51,7 @@ in
uri = mkOption {
type = strMatching "^(tcp|unix)://.*$";
example = "tcp://0.0.0.0:10200";
- description = mdDoc ''
+ description = ''
URI to bind the wyoming server to.
'';
};
@@ -60,7 +59,7 @@ in
speaker = mkOption {
type = ints.unsigned;
default = 0;
- description = mdDoc ''
+ description = ''
ID of a specific speaker in a multi-speaker model.
'';
apply = toString;
@@ -69,7 +68,7 @@ in
noiseScale = mkOption {
type = float;
default = 0.667;
- description = mdDoc ''
+ description = ''
Generator noise value.
'';
apply = toString;
@@ -78,7 +77,7 @@ in
noiseWidth = mkOption {
type = float;
default = 0.333;
- description = mdDoc ''
+ description = ''
Phoneme width noise value.
'';
apply = toString;
@@ -87,7 +86,7 @@ in
lengthScale = mkOption {
type = float;
default = 1.0;
- description = mdDoc ''
+ description = ''
Phoneme length value.
'';
apply = toString;
@@ -96,7 +95,7 @@ in
extraArgs = mkOption {
type = listOf str;
default = [ ];
- description = mdDoc ''
+ description = ''
Extra arguments to pass to the server commandline.
'';
apply = escapeShellArgs;
diff --git a/nixos/modules/services/home-automation/zigbee2mqtt.nix b/nixos/modules/services/home-automation/zigbee2mqtt.nix
index a653e49a09f6..f1d150487379 100644
--- a/nixos/modules/services/home-automation/zigbee2mqtt.nix
+++ b/nixos/modules/services/home-automation/zigbee2mqtt.nix
@@ -18,12 +18,12 @@ in
];
options.services.zigbee2mqtt = {
- enable = mkEnableOption (lib.mdDoc "zigbee2mqtt service");
+ enable = mkEnableOption "zigbee2mqtt service";
package = mkPackageOption pkgs "zigbee2mqtt" { };
dataDir = mkOption {
- description = lib.mdDoc "Zigbee2mqtt data directory";
+ description = "Zigbee2mqtt data directory";
default = "/var/lib/zigbee2mqtt";
type = types.path;
};
@@ -40,7 +40,7 @@ in
};
}
'';
- description = lib.mdDoc ''
+ description = ''
Your {file}`configuration.yaml` as a Nix attribute set.
Check the [documentation](https://www.zigbee2mqtt.io/information/configuration.html)
for possible options.
diff --git a/nixos/modules/services/home-automation/zwave-js.nix b/nixos/modules/services/home-automation/zwave-js.nix
index 9821da7ef6ed..2138719ec6fa 100644
--- a/nixos/modules/services/home-automation/zwave-js.nix
+++ b/nixos/modules/services/home-automation/zwave-js.nix
@@ -8,21 +8,21 @@ let
settingsFormat = pkgs.formats.json {};
in {
options.services.zwave-js = {
- enable = mkEnableOption (mdDoc "the zwave-js server on boot");
+ enable = mkEnableOption "the zwave-js server on boot";
package = mkPackageOption pkgs "zwave-js-server" { };
port = mkOption {
type = types.port;
default = 3000;
- description = mdDoc ''
+ description = ''
Port for the server to listen on.
'';
};
serialPort = mkOption {
type = types.path;
- description = mdDoc ''
+ description = ''
Serial port device path for Z-Wave controller.
'';
example = "/dev/ttyUSB0";
@@ -30,7 +30,7 @@ in {
secretsConfigFile = mkOption {
type = types.path;
- description = mdDoc ''
+ description = ''
JSON file containing secret keys. A dummy example:
```
@@ -72,13 +72,13 @@ in {
type = types.path;
default = "/var/cache/zwave-js";
readOnly = true;
- description = lib.mdDoc "Cache directory";
+ description = "Cache directory";
};
};
};
};
default = {};
- description = mdDoc ''
+ description = ''
Configuration settings for the generated config
file.
'';
@@ -88,7 +88,7 @@ in {
type = with lib.types; listOf str;
default = [ ];
example = [ "--mock-driver" ];
- description = lib.mdDoc ''
+ description = ''
Extra flags to pass to command
'';
};