diff options
author | pennae <github@quasiparticle.net> | 2022-08-02 17:34:22 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-03 20:39:21 +0200 |
commit | 694d5b19d30bf66687b42fb77f43ea7cd1002a62 (patch) | |
tree | c6f96a086cfcf7e03ed59ef4974318e161d0925d /nixos/modules/services/misc | |
parent | 951c50ec6dfc10324374d905edb2c028a284859e (diff) | |
download | nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.tar nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.tar.gz nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.tar.bz2 nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.tar.lz nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.tar.xz nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.tar.zst nixpkgs-694d5b19d30bf66687b42fb77f43ea7cd1002a62.zip |
nixos/*: replace </para><para> with double linebreaks
our xslt already replaces double line breaks with a paragraph close and reopen. not using explicit para tags lets nix-doc-munge convert more descriptions losslessly. only whitespace changes to generated documents, except for two strongswan options gaining paragraph two breaks they arguably should've had anyway.
Diffstat (limited to 'nixos/modules/services/misc')
-rw-r--r-- | nixos/modules/services/misc/autorandr.nix | 4 | ||||
-rw-r--r-- | nixos/modules/services/misc/bees.nix | 9 | ||||
-rw-r--r-- | nixos/modules/services/misc/nix-daemon.nix | 6 | ||||
-rw-r--r-- | nixos/modules/services/misc/zoneminder.nix | 4 |
4 files changed, 8 insertions, 15 deletions
diff --git a/nixos/modules/services/misc/autorandr.nix b/nixos/modules/services/misc/autorandr.nix index 11dc915c2af..9a0530866b5 100644 --- a/nixos/modules/services/misc/autorandr.nix +++ b/nixos/modules/services/misc/autorandr.nix @@ -154,7 +154,7 @@ let }); description = '' Output scale configuration. - </para><para> + Either configure by pixels or a scaling factor. When using pixel method the <citerefentry> <refentrytitle>xrandr</refentrytitle> @@ -165,7 +165,7 @@ let will be used; when using factor method the option <parameter class="command">--scale</parameter> will be used. - </para><para> + This option is a shortcut version of the transform option and they are mutually exclusive. ''; diff --git a/nixos/modules/services/misc/bees.nix b/nixos/modules/services/misc/bees.nix index 1b492315026..2adc9f2a1fa 100644 --- a/nixos/modules/services/misc/bees.nix +++ b/nixos/modules/services/misc/bees.nix @@ -17,8 +17,7 @@ let not configure multiple instances for subvolumes of the same filesystem (or block devices which are part of the same filesystem), but only for completely independent btrfs filesystems. - </para> - <para> + This must be in a format usable by findmnt; that could be a key=value pair, or a bare path to a mount point. Using bare paths will allow systemd to start the beesd service only @@ -31,12 +30,10 @@ let default = 1024; # 1GB; default from upstream beesd script description = '' Hash table size in MB; must be a multiple of 16. - </para> - <para> + A larger ratio of index size to storage size means smaller blocks of duplicate content are recognized. - </para> - <para> + If you have 1TB of data, a 4GB hash table (which is to say, a value of 4096) will permit 4KB extents (the smallest possible size) to be recognized, whereas a value of 1024 -- creating a 1GB hash table -- diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index c76aaaa559b..93ff5fcfb86 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -636,12 +636,10 @@ in <manvolnum>5</manvolnum> </citerefentry> for avalaible options. The value declared here will be translated directly to the key-value pairs Nix expects. - </para> - <para> + You can use <command>nix-instantiate --eval --strict '<nixpkgs/nixos>' -A config.nix.settings</command> to view the current value. By default it is empty. - </para> - <para> + Nix configurations defined under <option>nix.*</option> will be translated and applied to this option. In addition, configuration specified in <option>nix.extraOptions</option> which will be appended verbatim to the resulting config file. diff --git a/nixos/modules/services/misc/zoneminder.nix b/nixos/modules/services/misc/zoneminder.nix index ab24372037e..ef3f6c1a0fd 100644 --- a/nixos/modules/services/misc/zoneminder.nix +++ b/nixos/modules/services/misc/zoneminder.nix @@ -68,7 +68,7 @@ in { services.zoneminder = with lib; { enable = lib.mkEnableOption '' ZoneMinder - </para><para> + If you intend to run the database locally, you should set `config.services.zoneminder.database.createLocally` to true. Otherwise, when set to `false` (the default), you will have to create the database @@ -82,8 +82,6 @@ in { default = "nginx"; description = '' The webserver to configure for the PHP frontend. - </para> - <para> Set it to `none` if you want to configure it yourself. PRs are welcome for support for other web servers. |