0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

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.
This commit is contained in:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -8,12 +8,12 @@ let
in {
options = {
services.coder = {
enable = mkEnableOption (lib.mdDoc "Coder service");
enable = mkEnableOption "Coder service";
user = mkOption {
type = types.str;
default = "coder";
description = lib.mdDoc ''
description = ''
User under which the coder service runs.
::: {.note}
@ -26,7 +26,7 @@ in {
group = mkOption {
type = types.str;
default = "coder";
description = lib.mdDoc ''
description = ''
Group under which the coder service runs.
::: {.note}
@ -40,7 +40,7 @@ in {
homeDir = mkOption {
type = types.str;
description = lib.mdDoc ''
description = ''
Home directory for coder user.
'';
default = "/var/lib/coder";
@ -48,7 +48,7 @@ in {
listenAddress = mkOption {
type = types.str;
description = lib.mdDoc ''
description = ''
Listen address.
'';
default = "127.0.0.1:3000";
@ -56,7 +56,7 @@ in {
accessUrl = mkOption {
type = types.nullOr types.str;
description = lib.mdDoc ''
description = ''
Access URL should be a external IP address or domain with DNS records pointing to Coder.
'';
default = null;
@ -65,7 +65,7 @@ in {
wildcardAccessUrl = mkOption {
type = types.nullOr types.str;
description = lib.mdDoc ''
description = ''
If you are providing TLS certificates directly to the Coder server, you must use a single certificate for the root and wildcard domains.
'';
default = null;
@ -76,7 +76,7 @@ in {
createLocally = mkOption {
type = types.bool;
default = true;
description = lib.mdDoc ''
description = ''
Create the database and database user locally.
'';
};
@ -84,7 +84,7 @@ in {
host = mkOption {
type = types.str;
default = "/run/postgresql";
description = lib.mdDoc ''
description = ''
Hostname hosting the database.
'';
};
@ -92,7 +92,7 @@ in {
database = mkOption {
type = types.str;
default = "coder";
description = lib.mdDoc ''
description = ''
Name of database.
'';
};
@ -100,7 +100,7 @@ in {
username = mkOption {
type = types.str;
default = "coder";
description = lib.mdDoc ''
description = ''
Username for accessing the database.
'';
};
@ -108,7 +108,7 @@ in {
password = mkOption {
type = types.nullOr types.str;
default = null;
description = lib.mdDoc ''
description = ''
Password for accessing the database.
'';
};
@ -116,7 +116,7 @@ in {
sslmode = mkOption {
type = types.nullOr types.str;
default = "disable";
description = lib.mdDoc ''
description = ''
Password for accessing the database.
'';
};
@ -124,7 +124,7 @@ in {
tlsCert = mkOption {
type = types.nullOr types.path;
description = lib.mdDoc ''
description = ''
The path to the TLS certificate.
'';
default = null;
@ -132,7 +132,7 @@ in {
tlsKey = mkOption {
type = types.nullOr types.path;
description = lib.mdDoc ''
description = ''
The path to the TLS key.
'';
default = null;