fix(modules): fix descriptions in inadyn enable options

This commit is contained in:
Felix Schröter 2023-10-04 20:36:47 +02:00
parent 6d85673ff8
commit ecefafabc4
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -20,11 +20,7 @@ let
in { in {
options = { options = {
services.inadyn = { services.inadyn = {
enable = mkOption { enable = mkEnableOption (lib.mdDoc "inadyn DDNS client");
type = types.bool;
default = false;
description = "Enable inadyn DDNS client.";
};
package = lib.mkPackageOption pkgs "inadyn" { }; package = lib.mkPackageOption pkgs "inadyn" { };
@ -67,8 +63,7 @@ in {
description = "List of domain names to update records for."; description = "List of domain names to update records for.";
}; };
ipv4.enable = ipv4.enable = mkEnableOption (lib.mdDoc "updating IPv4 records");
mkEnableOption (lib.mdDoc "Whether to update IPv4 records.");
ipv4.server = mkOption { ipv4.server = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
@ -91,8 +86,7 @@ in {
description = "Extra configuration add to each IPv4 domain config."; description = "Extra configuration add to each IPv4 domain config.";
}; };
ipv6.enable = ipv6.enable = mkEnableOption (lib.mdDoc "updating IPv6 records");
mkEnableOption (lib.mdDoc "Whether to update IPv6 records.");
ipv6.server = mkOption { ipv6.server = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;