nixos: fix backticks in Markdown descriptions

This commit is contained in:
Naïm Favier 2023-01-21 11:06:46 +01:00 committed by pennae
parent 5305f766fd
commit 363158603a
12 changed files with 17 additions and 17 deletions

View file

@ -181,7 +181,7 @@ in
example = "pid";
description = lib.mdDoc ''
The name of the column in the log table to which the pid of the
process utilising the `pam_mysql's` authentication
process utilising the `pam_mysql` authentication
service is stored.
'';
};

View file

@ -727,7 +727,7 @@ in {
Default values inheritable by all configured certs. You can
use this to define options shared by all your certs. These defaults
can also be ignored on a per-cert basis using the
`security.acme.certs.''${cert}.inheritDefaults' option.
{option}`security.acme.certs.''${cert}.inheritDefaults` option.
'';
};

View file

@ -57,7 +57,7 @@ in {
type = types.enum [ false true "lock" ];
default = false;
description = lib.mdDoc ''
Whether to enable the Linux audit system. The special `lock' value can be used to
Whether to enable the Linux audit system. The special `lock` value can be used to
enable auditing and prevent disabling it until a restart. Be careful about locking
this, as it will prevent you from changing your audit configuration until you
restart. If possible, test your configuration using build-vm beforehand.

View file

@ -102,7 +102,7 @@ in {
Extra directives added to to the end of MPD's configuration file,
mpd.conf. Basic configuration like file location and uid/gid
is added automatically to the beginning of the file. For available
options see `man 5 mpd.conf`'.
options see {manpage}`mpd.conf(5)`.
'';
};

View file

@ -22,7 +22,7 @@ in
type = types.bool;
default = false;
description = lib.mdDoc ''
Whether to enable `gpsd', a GPS service daemon.
Whether to enable `gpsd`, a GPS service daemon.
'';
};

View file

@ -15,7 +15,7 @@ in
default = "/var/lib/weechat";
};
sessionName = mkOption {
description = lib.mdDoc "Name of the `screen' session for weechat.";
description = lib.mdDoc "Name of the `screen` session for weechat.";
default = "weechat-screen";
type = types.str;
};

View file

@ -47,7 +47,7 @@ in
Whether to run the Avahi daemon, which allows Avahi clients
to use Avahi's service discovery facilities and also allows
the local machine to advertise its presence and services
(through the mDNS responder implemented by `avahi-daemon').
(through the mDNS responder implemented by `avahi-daemon`).
'';
};
@ -205,7 +205,7 @@ in
default = false;
description = lib.mdDoc ''
Whether to enable the mDNS NSS (Name Service Switch) plug-in.
Enabling it allows applications to resolve names in the `.local'
Enabling it allows applications to resolve names in the `.local`
domain by transparently querying the Avahi daemon.
'';
};

View file

@ -124,8 +124,8 @@ in
type = types.lines;
default = "";
description = lib.mdDoc ''
Additional options that will be copied verbatim in `gnunet.conf'.
See `gnunet.conf(5)' for details.
Additional options that will be copied verbatim in `gnunet.conf`.
See {manpage}`gnunet.conf(5)` for details.
'';
};
};

View file

@ -124,7 +124,7 @@ in
type = types.listOf types.str;
default = [ ];
example = literalExpression ''[ "55.1.2.3" ]'';
description = lib.mdDoc "Public IPs for NAT reflection; for connections to `loopbackip:sourcePort' from the host itself and from other hosts behind NAT";
description = lib.mdDoc "Public IPs for NAT reflection; for connections to `loopbackip:sourcePort` from the host itself and from other hosts behind NAT";
};
};
});

View file

@ -14,7 +14,7 @@ with lib;
type = types.bool;
default = false;
description = lib.mdDoc ''
Whether to enable `rpcbind', an ONC RPC directory service
Whether to enable `rpcbind`, an ONC RPC directory service
notably used by NFS and NIS, and which can be queried
using the rpcinfo(1) command. `rpcbind` is a replacement for
`portmap`.

View file

@ -40,7 +40,7 @@ in
type = types.listOf types.str;
description = lib.mdDoc ''
List of network interfaces where listening for connections.
When providing the empty list, `[]', lshd listens on all
When providing the empty list, `[]`, lshd listens on all
network interfaces.
'';
example = [ "localhost" "1.2.3.4:443" ];

View file

@ -950,16 +950,16 @@ in
type = types.str;
default = "";
description = lib.mdDoc ''
Attribute map for `id'.
Defaults to `NameID' of SAML response.
Attribute map for `id`.
Defaults to `NameID` of SAML response.
'';
};
username = mkOption {
type = types.str;
default = "";
description = lib.mdDoc ''
Attribute map for `username'.
Defaults to `NameID' of SAML response.
Attribute map for `username`.
Defaults to `NameID` of SAML response.
'';
};
email = mkOption {