mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
nixos/*: convert options with admonitions to MD
rendering changes only slightly, most changes are in spacing.
This commit is contained in:
parent
bd56368848
commit
722b99bc0e
50 changed files with 568 additions and 568 deletions
|
@ -44,41 +44,41 @@ in
|
|||
user = mkOption {
|
||||
type = types.str;
|
||||
default = "mysql";
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
User account under which MySQL runs.
|
||||
|
||||
<note><para>
|
||||
::: {.note}
|
||||
If left as the default value this user will automatically be created
|
||||
on system activation, otherwise you are responsible for
|
||||
ensuring the user exists before the MySQL service starts.
|
||||
</para></note>
|
||||
:::
|
||||
'';
|
||||
};
|
||||
|
||||
group = mkOption {
|
||||
type = types.str;
|
||||
default = "mysql";
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
Group account under which MySQL runs.
|
||||
|
||||
<note><para>
|
||||
::: {.note}
|
||||
If left as the default value this group will automatically be created
|
||||
on system activation, otherwise you are responsible for
|
||||
ensuring the user exists before the MySQL service starts.
|
||||
</para></note>
|
||||
:::
|
||||
'';
|
||||
};
|
||||
|
||||
dataDir = mkOption {
|
||||
type = types.path;
|
||||
example = "/var/lib/mysql";
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
The data directory for MySQL.
|
||||
|
||||
<note><para>
|
||||
If left as the default value of <literal>/var/lib/mysql</literal> this directory will automatically be created before the MySQL
|
||||
::: {.note}
|
||||
If left as the default value of `/var/lib/mysql` this directory will automatically be created before the MySQL
|
||||
server starts, otherwise you are responsible for ensuring the directory exists with appropriate ownership and permissions.
|
||||
</para></note>
|
||||
:::
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -107,20 +107,18 @@ in
|
|||
settings = mkOption {
|
||||
type = format.type;
|
||||
default = {};
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
MySQL configuration. Refer to
|
||||
<link xlink:href="https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html"/>,
|
||||
<link xlink:href="https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html"/>,
|
||||
and <link xlink:href="https://mariadb.com/kb/en/server-system-variables/"/>
|
||||
<https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html>,
|
||||
<https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html>,
|
||||
and <https://mariadb.com/kb/en/server-system-variables/>
|
||||
for details on supported values.
|
||||
|
||||
<note>
|
||||
<para>
|
||||
MySQL configuration options such as <literal>--quick</literal> should be treated as
|
||||
boolean options and provided values such as <literal>true</literal>, <literal>false</literal>,
|
||||
<literal>1</literal>, or <literal>0</literal>. See the provided example below.
|
||||
</para>
|
||||
</note>
|
||||
::: {.note}
|
||||
MySQL configuration options such as `--quick` should be treated as
|
||||
boolean options and provided values such as `true`, `false`,
|
||||
`1`, or `0`. See the provided example below.
|
||||
:::
|
||||
'';
|
||||
example = literalExpression ''
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue