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/security/vault-agent.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/security/vault-agent.nix')
-rw-r--r-- | nixos/modules/services/security/vault-agent.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/nixos/modules/services/security/vault-agent.nix b/nixos/modules/services/security/vault-agent.nix index f8c281442f5fe..fd3e39fb65981 100644 --- a/nixos/modules/services/security/vault-agent.nix +++ b/nixos/modules/services/security/vault-agent.nix @@ -6,20 +6,20 @@ let format = pkgs.formats.json { }; commonOptions = { pkgName, flavour ? pkgName }: mkOption { default = { }; - description = mdDoc '' + description = '' Attribute set of ${flavour} instances. Creates independent `${flavour}-''${name}.service` systemd units for each instance defined here. ''; type = with types; attrsOf (submodule ({ name, ... }: { options = { - enable = mkEnableOption (mdDoc "this ${flavour} instance") // { default = true; }; + enable = mkEnableOption "this ${flavour} instance" // { default = true; }; package = mkPackageOption pkgs pkgName { }; user = mkOption { type = types.str; default = "root"; - description = mdDoc '' + description = '' User under which this instance runs. ''; }; @@ -27,7 +27,7 @@ let group = mkOption { type = types.str; default = "root"; - description = mdDoc '' + description = '' Group under which this instance runs. ''; }; @@ -40,7 +40,7 @@ let pid_file = mkOption { default = "/run/${flavour}/${name}.pid"; type = types.str; - description = mdDoc '' + description = '' Path to use for the pid file. ''; }; @@ -53,8 +53,7 @@ let if flavour == "vault-agent" then "https://developer.hashicorp.com/vault/docs/agent/template" else "https://github.com/hashicorp/consul-template/blob/main/docs/configuration.md#templates"; - in - mdDoc '' + in '' Template section of ${flavour}. Refer to <${upstreamDocs}> for supported values. ''; @@ -69,8 +68,7 @@ let if flavour == "vault-agent" then "https://developer.hashicorp.com/vault/docs/agent#configuration-file-options" else "https://github.com/hashicorp/consul-template/blob/main/docs/configuration.md#configuration-file"; - in - mdDoc '' + in '' Free-form settings written directly to the `config.json` file. Refer to <${upstreamDocs}> for supported values. |