diff options
author | stuebinm <stuebinm@disroot.org> | 2024-04-13 14:54:15 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2024-04-13 10:07:35 -0700 |
commit | 6afb255d976f85f3359e4929abd6f5149c323a02 (patch) | |
tree | ced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/misc/heisenbridge.nix | |
parent | 1dd996e59a5e67694b7a252aacba71a88d51b41e (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/misc/heisenbridge.nix')
-rw-r--r-- | nixos/modules/services/misc/heisenbridge.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nixos/modules/services/misc/heisenbridge.nix b/nixos/modules/services/misc/heisenbridge.nix index d7ce9c605c9e8..de109e726633f 100644 --- a/nixos/modules/services/misc/heisenbridge.nix +++ b/nixos/modules/services/misc/heisenbridge.nix @@ -23,19 +23,19 @@ let in { options.services.heisenbridge = { - enable = mkEnableOption (lib.mdDoc "the Matrix to IRC bridge"); + enable = mkEnableOption "the Matrix to IRC bridge"; package = mkPackageOption pkgs "heisenbridge" { }; homeserver = mkOption { type = types.str; - description = lib.mdDoc "The URL to the home server for client-server API calls"; + description = "The URL to the home server for client-server API calls"; example = "http://localhost:8008"; }; registrationUrl = mkOption { type = types.str; - description = lib.mdDoc '' + description = '' The URL where the application service is listening for HS requests, from the Matrix HS perspective.# The default value assumes the bridge runs on the same host as the home server, in the same network. ''; @@ -46,26 +46,26 @@ in address = mkOption { type = types.str; - description = lib.mdDoc "Address to listen on. IPv6 does not seem to be supported."; + description = "Address to listen on. IPv6 does not seem to be supported."; default = "127.0.0.1"; example = "0.0.0.0"; }; port = mkOption { type = types.port; - description = lib.mdDoc "The port to listen on"; + description = "The port to listen on"; default = 9898; }; debug = mkOption { type = types.bool; - description = lib.mdDoc "More verbose logging. Recommended during initial setup."; + description = "More verbose logging. Recommended during initial setup."; default = false; }; owner = mkOption { type = types.nullOr types.str; - description = lib.mdDoc '' + description = '' Set owner MXID otherwise first talking local user will claim the bridge ''; default = null; @@ -73,7 +73,7 @@ in }; namespaces = mkOption { - description = lib.mdDoc "Configure the 'namespaces' section of the registration.yml for the bridge and the server"; + description = "Configure the 'namespaces' section of the registration.yml for the bridge and the server"; # TODO link to Matrix documentation of the format type = types.submodule { freeformType = jsonType; @@ -91,16 +91,16 @@ in }; }; - identd.enable = mkEnableOption (lib.mdDoc "identd service support"); + identd.enable = mkEnableOption "identd service support"; identd.port = mkOption { type = types.port; - description = lib.mdDoc "identd listen port"; + description = "identd listen port"; default = 113; }; extraArgs = mkOption { type = types.listOf types.str; - description = lib.mdDoc "Heisenbridge is configured over the command line. Append extra arguments here"; + description = "Heisenbridge is configured over the command line. Append extra arguments here"; default = [ ]; }; }; |