diff options
author | pennae <github@quasiparticle.net> | 2022-08-02 03:39:32 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-05 18:34:50 +0200 |
commit | 423545fe4865d126e86721ba30da116e29c65004 (patch) | |
tree | 9a56bf0a0b30ff290cf419d1e5f0dc2bd291f3dc /nixos/modules/security | |
parent | ab403f07d359394c175218f66eac826e91b56565 (diff) |
nixos/*: normalize manpage references to single-line form
now nix-doc-munge will not introduce whitespace changes when it replaces manpage references with the MD equivalent. no change to the manpage, changes to the HTML manual are whitespace only.
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/acme/default.nix | 3 | ||||
-rw-r--r-- | nixos/modules/security/pam.nix | 26 | ||||
-rw-r--r-- | nixos/modules/security/systemd-confinement.nix | 17 | ||||
-rw-r--r-- | nixos/modules/security/wrappers/default.nix | 5 |
4 files changed, 13 insertions, 38 deletions
diff --git a/nixos/modules/security/acme/default.nix b/nixos/modules/security/acme/default.nix index a1d8c533304ac..f4f2a669ceb83 100644 --- a/nixos/modules/security/acme/default.nix +++ b/nixos/modules/security/acme/default.nix @@ -453,8 +453,7 @@ let inherit (defaultAndText "renewInterval" "daily") default defaultText; description = '' Systemd calendar expression when to check for renewal. See - <citerefentry><refentrytitle>systemd.time</refentrytitle> - <manvolnum>7</manvolnum></citerefentry>. + <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. ''; }; diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 2d0f256897844..86fa5db6ca50d 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -314,8 +314,7 @@ let Attribute set describing resource limits. Defaults to the value of <option>security.pam.loginLimits</option>. The meaning of the values is explained in <citerefentry> - <refentrytitle>limits.conf</refentrytitle><manvolnum>5</manvolnum> - </citerefentry>. + <refentrytitle>limits.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. ''; }; @@ -756,8 +755,7 @@ in <varname>domain</varname>, <varname>type</varname>, <varname>item</varname>, and <varname>value</varname> attribute. The syntax and semantics of these attributes - must be that described in <citerefentry><refentrytitle>limits.conf</refentrytitle> - <manvolnum>5</manvolnum></citerefentry>. + must be that described in <citerefentry><refentrytitle>limits.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Note that these limits do not apply to systemd services, whose limits can be changed via <option>systemd.extraConfig</option> @@ -845,10 +843,7 @@ in use "sufficient". Read - <citerefentry> - <refentrytitle>pam.conf</refentrytitle> - <manvolnum>5</manvolnum> - </citerefentry> + <citerefentry><refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for better understanding of this option. ''; }; @@ -935,10 +930,7 @@ in If you want to use U2F device instead of regular password, use "sufficient". Read - <citerefentry> - <refentrytitle>pam.conf</refentrytitle> - <manvolnum>5</manvolnum> - </citerefentry> + <citerefentry><refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for better understanding of this option. ''; }; @@ -1054,10 +1046,7 @@ in use "sufficient". Read - <citerefentry> - <refentrytitle>pam.conf</refentrytitle> - <manvolnum>5</manvolnum> - </citerefentry> + <citerefentry><refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for better understanding of this option. ''; }; @@ -1088,10 +1077,7 @@ in If you want to use Yubikey instead of regular password, use "sufficient". Read - <citerefentry> - <refentrytitle>pam.conf</refentrytitle> - <manvolnum>5</manvolnum> - </citerefentry> + <citerefentry><refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for better understanding of this option. ''; }; diff --git a/nixos/modules/security/systemd-confinement.nix b/nixos/modules/security/systemd-confinement.nix index 07b725effb7d1..b058eed42c4ba 100644 --- a/nixos/modules/security/systemd-confinement.nix +++ b/nixos/modules/security/systemd-confinement.nix @@ -12,10 +12,8 @@ in { default = false; description = '' If set, all the required runtime store paths for this service are - bind-mounted into a <literal>tmpfs</literal>-based <citerefentry> - <refentrytitle>chroot</refentrytitle> - <manvolnum>2</manvolnum> - </citerefentry>. + bind-mounted into a <literal>tmpfs</literal>-based + <citerefentry><refentrytitle>chroot</refentrytitle><manvolnum>2</manvolnum></citerefentry>. ''; }; @@ -69,10 +67,7 @@ in { <filename>/bin/sh</filename> is provided at all. This is useful for some applications, which for example use the - <citerefentry> - <refentrytitle>system</refentrytitle> - <manvolnum>3</manvolnum> - </citerefentry> library function to execute commands. + <citerefentry><refentrytitle>system</refentrytitle><manvolnum>3</manvolnum></citerefentry> library function to execute commands. ''; }; @@ -88,10 +83,8 @@ in { name space. If this is set to <literal>chroot-only</literal>, only the file - system name space is set up along with the call to <citerefentry> - <refentrytitle>chroot</refentrytitle> - <manvolnum>2</manvolnum> - </citerefentry>. + system name space is set up along with the call to + <citerefentry><refentrytitle>chroot</refentrytitle><manvolnum>2</manvolnum></citerefentry>. <note><para>This doesn't cover network namespaces and is solely for file system level isolation.</para></note> diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix index cdf99e697f6f2..098ed85919fd8 100644 --- a/nixos/modules/security/wrappers/default.nix +++ b/nixos/modules/security/wrappers/default.nix @@ -54,10 +54,7 @@ let description = '' A comma-separated list of capabilities to be given to the wrapper program. For capabilities supported by the system check the - <citerefentry> - <refentrytitle>capabilities</refentrytitle> - <manvolnum>7</manvolnum> - </citerefentry> + <citerefentry><refentrytitle>capabilities</refentrytitle><manvolnum>7</manvolnum></citerefentry> manual page. <note><para> |