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/i18n/input-method | |
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/i18n/input-method')
-rw-r--r-- | nixos/modules/i18n/input-method/default.nix | 4 | ||||
-rw-r--r-- | nixos/modules/i18n/input-method/fcitx5.nix | 18 | ||||
-rw-r--r-- | nixos/modules/i18n/input-method/ibus.nix | 5 | ||||
-rw-r--r-- | nixos/modules/i18n/input-method/kime.nix | 6 | ||||
-rw-r--r-- | nixos/modules/i18n/input-method/uim.nix | 2 |
5 files changed, 17 insertions, 18 deletions
diff --git a/nixos/modules/i18n/input-method/default.nix b/nixos/modules/i18n/input-method/default.nix index d967d4335c70c..3b439c4231b3f 100644 --- a/nixos/modules/i18n/input-method/default.nix +++ b/nixos/modules/i18n/input-method/default.nix @@ -32,7 +32,7 @@ in type = types.nullOr (types.enum [ "ibus" "fcitx5" "nabi" "uim" "hime" "kime" ]); default = null; example = "fcitx5"; - description = lib.mdDoc '' + description = '' Select the enabled input method. Input methods is a software to input symbols that are not available on standard input devices. Input methods are specially used to input Chinese, Japanese and Korean characters. @@ -52,7 +52,7 @@ in internal = true; type = types.nullOr types.path; default = null; - description = lib.mdDoc '' + description = '' The input method method package. ''; }; diff --git a/nixos/modules/i18n/input-method/fcitx5.nix b/nixos/modules/i18n/input-method/fcitx5.nix index 7553362205203..bb6661e248f22 100644 --- a/nixos/modules/i18n/input-method/fcitx5.nix +++ b/nixos/modules/i18n/input-method/fcitx5.nix @@ -18,14 +18,14 @@ in type = with types; listOf package; default = [ ]; example = literalExpression "with pkgs; [ fcitx5-rime ]"; - description = lib.mdDoc '' + description = '' Enabled Fcitx5 addons. ''; }; waylandFrontend = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Use the Wayland input method frontend. See [Using Fcitx 5 on Wayland](https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland). ''; @@ -34,7 +34,7 @@ in type = types.bool; default = config.services.desktopManager.plasma6.enable; defaultText = literalExpression "config.services.desktopManager.plasma6.enable"; - description = lib.mdDoc '' + description = '' Use qt6 versions of fcitx5 packages. Required for configuring fcitx5 in KDE System Settings. ''; @@ -48,7 +48,7 @@ in angry = "( ̄ー ̄)"; } ''; - description = lib.mdDoc "Quick phrases."; + description = "Quick phrases."; }; quickPhraseFiles = mkOption { type = with types; attrsOf path; @@ -59,7 +59,7 @@ in numbers = ./numbers.mb; } ''; - description = lib.mdDoc "Quick phrase files."; + description = "Quick phrase files."; }; settings = { globalOptions = lib.mkOption { @@ -67,7 +67,7 @@ in freeformType = settingsFormat.type; }; default = { }; - description = lib.mdDoc '' + description = '' The global options in `config` file in ini format. ''; }; @@ -76,14 +76,14 @@ in freeformType = settingsFormat.type; }; default = { }; - description = lib.mdDoc '' + description = '' The input method configure in `profile` file in ini format. ''; }; addons = lib.mkOption { type = with lib.types; (attrsOf anything); default = { }; - description = lib.mdDoc '' + description = '' The addon configures in `conf` folder in ini format with global sections. Each item is written to the corresponding file. ''; @@ -93,7 +93,7 @@ in ignoreUserConfig = lib.mkOption { type = lib.types.bool; default = false; - description = lib.mdDoc '' + description = '' Ignore the user configures. **Warning**: When this is enabled, the user config files are totally ignored and the user dict can't be saved and loaded. diff --git a/nixos/modules/i18n/input-method/ibus.nix b/nixos/modules/i18n/input-method/ibus.nix index a81ce828b13db..c82f0099253b8 100644 --- a/nixos/modules/i18n/input-method/ibus.nix +++ b/nixos/modules/i18n/input-method/ibus.nix @@ -41,14 +41,13 @@ in enginesDrv = filterAttrs (const isDerivation) pkgs.ibus-engines; engines = concatStringsSep ", " (map (name: "`${name}`") (attrNames enginesDrv)); - in - lib.mdDoc "Enabled IBus engines. Available engines are: ${engines}."; + in "Enabled IBus engines. Available engines are: ${engines}."; }; panel = mkOption { type = with types; nullOr path; default = null; example = literalExpression ''"''${pkgs.plasma5Packages.plasma-desktop}/libexec/kimpanel-ibus-panel"''; - description = lib.mdDoc "Replace the IBus panel with another panel."; + description = "Replace the IBus panel with another panel."; }; }; }; diff --git a/nixos/modules/i18n/input-method/kime.nix b/nixos/modules/i18n/input-method/kime.nix index e82996926b28b..1fea3aeccf0a5 100644 --- a/nixos/modules/i18n/input-method/kime.nix +++ b/nixos/modules/i18n/input-method/kime.nix @@ -10,7 +10,7 @@ in { type = lib.types.listOf (lib.types.enum [ "Xim" "Wayland" "Indicator" ]); default = [ "Xim" "Wayland" "Indicator" ]; example = [ "Xim" "Indicator" ]; - description = lib.mdDoc '' + description = '' List of enabled daemon modules ''; }; @@ -18,14 +18,14 @@ in { type = lib.types.enum [ "Black" "White" ]; default = "Black"; example = "White"; - description = lib.mdDoc '' + description = '' Color of the indicator icon ''; }; extraConfig = lib.mkOption { type = lib.types.lines; default = ""; - description = lib.mdDoc '' + description = '' extra kime configuration. Refer to <https://github.com/Riey/kime/blob/v${pkgs.kime.version}/docs/CONFIGURATION.md> for details on supported values. ''; }; diff --git a/nixos/modules/i18n/input-method/uim.nix b/nixos/modules/i18n/input-method/uim.nix index 7225783b2a6f8..6a636a771c1f2 100644 --- a/nixos/modules/i18n/input-method/uim.nix +++ b/nixos/modules/i18n/input-method/uim.nix @@ -13,7 +13,7 @@ in type = types.enum [ "gtk" "gtk3" "gtk-systray" "gtk3-systray" "qt5" ]; default = "gtk"; example = "gtk-systray"; - description = lib.mdDoc '' + description = '' selected UIM toolbar. ''; }; |