nixos: fix typos
This commit is contained in:
parent
695d4bc76b
commit
6bb0dbf91f
169 changed files with 241 additions and 241 deletions
|
@ -7,7 +7,7 @@ This includes a hardened kernel, and limiting the system information
|
|||
available to processes through the `/sys` and
|
||||
`/proc` filesystems. It also disables the User Namespaces
|
||||
feature of the kernel, which stops Nix from being able to build anything
|
||||
(this particular setting can be overriden via
|
||||
(this particular setting can be overridden via
|
||||
[](#opt-security.allowUserNamespaces)). See the
|
||||
[profile source](https://github.com/nixos/nixpkgs/tree/master/nixos/modules/profiles/hardened.nix)
|
||||
for further detail on which settings are altered.
|
||||
|
|
|
@ -34,7 +34,7 @@ read which is set to `dry-activate` when a dry activation is done.
|
|||
|
||||
An activation script can write to special files instructing
|
||||
`switch-to-configuration` to restart/reload units. The script will take these
|
||||
requests into account and will incorperate the unit configuration as described
|
||||
requests into account and will incorporate the unit configuration as described
|
||||
above. This means that the activation script will "fake" a modified unit file
|
||||
and `switch-to-configuration` will act accordingly. By doing so, configuration
|
||||
like [systemd.services.\<name\>.restartIfChanged](#opt-systemd.services) is
|
||||
|
@ -49,7 +49,7 @@ dry activation being `/run/nixos/dry-activation-restart-list` and
|
|||
`/run/nixos/dry-activation-reload-list`. Those files can contain
|
||||
newline-separated lists of unit names where duplicates are being ignored. These
|
||||
files are not create automatically and activation scripts must take the
|
||||
possiblility into account that they have to create them first.
|
||||
possibility into account that they have to create them first.
|
||||
|
||||
## NixOS snippets {#sec-activation-script-nixos-snippets}
|
||||
|
||||
|
|
|
@ -345,7 +345,7 @@ that are handled like a separate module.
|
|||
It takes a parameter *`o`*, that should be a set, or a function returning
|
||||
a set with an `options` key defining the sub-options. Submodule option
|
||||
definitions are type-checked accordingly to the `options` declarations.
|
||||
Of course, you can nest submodule option definitons for even higher
|
||||
Of course, you can nest submodule option definitions for even higher
|
||||
modularity.
|
||||
|
||||
The option set can be defined directly
|
||||
|
|
|
@ -298,7 +298,7 @@ The following methods are available on machine objects:
|
|||
|
||||
: Wait until the supplied regular expressions match a line of the
|
||||
serial console output. This method is useful when OCR is not
|
||||
possibile or accurate enough.
|
||||
possible or accurate enough.
|
||||
|
||||
`wait_for_window`
|
||||
|
||||
|
@ -351,7 +351,7 @@ This applies to `systemctl`, `get_unit_info`, `wait_for_unit`,
|
|||
`start_job` and `stop_job`.
|
||||
|
||||
For faster dev cycles it\'s also possible to disable the code-linters
|
||||
(this shouldn\'t be commited though):
|
||||
(this shouldn\'t be committed though):
|
||||
|
||||
```nix
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
available to processes through the <literal>/sys</literal> and
|
||||
<literal>/proc</literal> filesystems. It also disables the User
|
||||
Namespaces feature of the kernel, which stops Nix from being able to
|
||||
build anything (this particular setting can be overriden via
|
||||
build anything (this particular setting can be overridden via
|
||||
<xref linkend="opt-security.allowUserNamespaces" />). See the
|
||||
<link xlink:href="https://github.com/nixos/nixpkgs/tree/master/nixos/modules/profiles/hardened.nix">profile
|
||||
source</link> for further detail on which settings are altered.
|
||||
|
|
|
@ -45,7 +45,7 @@ system.activationScripts.my-activation-script = {
|
|||
An activation script can write to special files instructing
|
||||
<literal>switch-to-configuration</literal> to restart/reload units.
|
||||
The script will take these requests into account and will
|
||||
incorperate the unit configuration as described above. This means
|
||||
incorporate the unit configuration as described above. This means
|
||||
that the activation script will <quote>fake</quote> a modified unit
|
||||
file and <literal>switch-to-configuration</literal> will act
|
||||
accordingly. By doing so, configuration like
|
||||
|
@ -66,7 +66,7 @@ system.activationScripts.my-activation-script = {
|
|||
<literal>/run/nixos/dry-activation-reload-list</literal>. Those
|
||||
files can contain newline-separated lists of unit names where
|
||||
duplicates are being ignored. These files are not create
|
||||
automatically and activation scripts must take the possiblility into
|
||||
automatically and activation scripts must take the possibility into
|
||||
account that they have to create them first.
|
||||
</para>
|
||||
<section xml:id="sec-activation-script-nixos-snippets">
|
||||
|
|
|
@ -712,7 +712,7 @@
|
|||
<literal>options</literal> key defining the sub-options. Submodule
|
||||
option definitions are type-checked accordingly to the
|
||||
<literal>options</literal> declarations. Of course, you can nest
|
||||
submodule option definitons for even higher modularity.
|
||||
submodule option definitions for even higher modularity.
|
||||
</para>
|
||||
<para>
|
||||
The option set can be defined directly
|
||||
|
|
|
@ -536,7 +536,7 @@ start_all()
|
|||
<para>
|
||||
Wait until the supplied regular expressions match a line of
|
||||
the serial console output. This method is useful when OCR is
|
||||
not possibile or accurate enough.
|
||||
not possible or accurate enough.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -631,7 +631,7 @@ machine.wait_for_unit("xautolock.service", "x-session-user")
|
|||
</para>
|
||||
<para>
|
||||
For faster dev cycles it's also possible to disable the
|
||||
code-linters (this shouldn't be commited though):
|
||||
code-linters (this shouldn't be committed though):
|
||||
</para>
|
||||
<programlisting language="bash">
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</itemizedlist>
|
||||
<para>
|
||||
System images, such as the live installer ones, know how to enforce
|
||||
configuration settings on wich they immediately depend in order to
|
||||
configuration settings on which they immediately depend in order to
|
||||
work correctly.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -102,7 +102,7 @@ $ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd
|
|||
it needs at a minimum for correct functioning, while the installer
|
||||
base image overrides the entire file system layout because there
|
||||
can’t be any other guarantees on a live medium than those given by
|
||||
the live medium itself. The latter is especially true befor
|
||||
the live medium itself. The latter is especially true before
|
||||
formatting the target block device(s). On the other hand, the
|
||||
netboot iso only overrides its minimum dependencies since netboot
|
||||
images are always made-to-target.
|
||||
|
|
|
@ -223,7 +223,7 @@ $ sudo `which nixos-generate-config`
|
|||
<para>
|
||||
You'll likely want to set a root password for your first boot
|
||||
using the configuration files because you won't have a chance to
|
||||
enter a password until after you reboot. You can initalize the
|
||||
enter a password until after you reboot. You can initialize the
|
||||
root password to an empty one with this line: (and of course
|
||||
don't forget to set one once you've rebooted or to lock the
|
||||
account with <literal>sudo passwd -l root</literal> if you use
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-instaling-virtualbox-guest">
|
||||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-installing-virtualbox-guest">
|
||||
<title>Installing in a VirtualBox guest</title>
|
||||
<para>
|
||||
Installing NixOS into a VirtualBox guest is convenient for users who
|
||||
|
|
|
@ -256,7 +256,7 @@ $ sudo -i
|
|||
</para>
|
||||
<para>
|
||||
On the minimal installer, NetworkManager is not available, so
|
||||
configuration must be perfomed manually. To configure the wifi,
|
||||
configuration must be performed manually. To configure the wifi,
|
||||
first start wpa_supplicant with
|
||||
<literal>sudo systemctl start wpa_supplicant</literal>, then run
|
||||
<literal>wpa_cli</literal>. For most home networks, you need to
|
||||
|
|
|
@ -545,7 +545,7 @@ nginx.override {
|
|||
<literal>services.udev.extraRules</literal> option now writes
|
||||
rules to <literal>99-local.rules</literal> instead of
|
||||
<literal>10-local.rules</literal>. This makes all the user rules
|
||||
apply after others, so their results wouldn't be overriden by
|
||||
apply after others, so their results wouldn't be overridden by
|
||||
anything else.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
|
@ -666,7 +666,7 @@ rmdir /var/lib/ipfs/.ipfs
|
|||
<listitem>
|
||||
<para>
|
||||
<literal>services.firefox.syncserver</literal> now runs by
|
||||
default as a non-root user. To accomodate this change, the
|
||||
default as a non-root user. To accommodate this change, the
|
||||
default sqlite database location has also been changed.
|
||||
Migration should work automatically. Refer to the description
|
||||
of the options for more details.
|
||||
|
|
|
@ -271,7 +271,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The versioned <literal>postgresql</literal> have been renamed
|
||||
to use underscore number seperators. For example,
|
||||
to use underscore number separators. For example,
|
||||
<literal>postgresql96</literal> has been renamed to
|
||||
<literal>postgresql_9_6</literal>.
|
||||
</para>
|
||||
|
|
|
@ -498,7 +498,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The <literal>prometheus-nginx-exporter</literal> package now
|
||||
uses the offical exporter provided by NGINX Inc. Its metrics
|
||||
uses the official exporter provided by NGINX Inc. Its metrics
|
||||
are differently structured and are incompatible to the old
|
||||
ones. For information about the metrics, have a look at the
|
||||
<link xlink:href="https://github.com/nginxinc/nginx-prometheus-exporter">official
|
||||
|
@ -524,7 +524,7 @@
|
|||
<para>
|
||||
By default, prometheus exporters are now run with
|
||||
<literal>DynamicUser</literal> enabled. Exporters that need a
|
||||
real user, now run under a seperate user and group which
|
||||
real user, now run under a separate user and group which
|
||||
follow the pattern
|
||||
<literal><exporter-name>-exporter</literal>, instead of
|
||||
the previous default <literal>nobody</literal> and
|
||||
|
|
|
@ -1304,7 +1304,7 @@ self: super:
|
|||
<listitem>
|
||||
<para>
|
||||
In the ACME module, the data used to build the hash for the
|
||||
account directory has changed to accomodate new features to
|
||||
account directory has changed to accommodate new features to
|
||||
reduce account rate limit issues. This will trigger new
|
||||
account creation on the first rebuild following this update.
|
||||
No issues are expected to arise from this, thanks to the new
|
||||
|
|
|
@ -328,7 +328,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
<link xlink:href="https://maddy.email/">Maddy</link>, a free
|
||||
an open source mail server. Availabe as
|
||||
an open source mail server. Available as
|
||||
<link linkend="opt-services.maddy.enable">services.maddy</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
@ -1422,7 +1422,7 @@
|
|||
derivation if <literal>name</literal> is
|
||||
<literal>"vim"</literal> (the default). This
|
||||
makes the <literal>wrapManual</literal> argument obsolete,
|
||||
but this behavior can be overriden by setting the
|
||||
but this behavior can be overridden by setting the
|
||||
<literal>standalone</literal> argument.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
|
@ -1280,9 +1280,9 @@ services.github-runner.serviceOverrides.SupplementaryGroups = [
|
|||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Option descriptions, examples, and defaults writting in
|
||||
DocBook are now deprecated. Using CommonMark is preferred and
|
||||
will become the default in a future release.
|
||||
Option descriptions, examples, and defaults writing in DocBook
|
||||
are now deprecated. Using CommonMark is preferred and will
|
||||
become the default in a future release.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
|
|
@ -114,8 +114,8 @@
|
|||
<link linkend="opt-services.snapserver.openFirewall">services.snapserver.openFirewall</link>
|
||||
module option default value has been changed from
|
||||
<literal>true</literal> to <literal>false</literal>. You will
|
||||
need to explicitely set this option to
|
||||
<literal>true</literal>, or configure your firewall.
|
||||
need to explicitly set this option to <literal>true</literal>,
|
||||
or configure your firewall.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -124,8 +124,8 @@
|
|||
<link linkend="opt-services.tmate-ssh-server.openFirewall">services.tmate-ssh-server.openFirewall</link>
|
||||
module option default value has been changed from
|
||||
<literal>true</literal> to <literal>false</literal>. You will
|
||||
need to explicitely set this option to
|
||||
<literal>true</literal>, or configure your firewall.
|
||||
need to explicitly set this option to <literal>true</literal>,
|
||||
or configure your firewall.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -134,8 +134,8 @@
|
|||
<link linkend="opt-services.unifi-video.openFirewall">services.unifi-video.openFirewall</link>
|
||||
module option default value has been changed from
|
||||
<literal>true</literal> to <literal>false</literal>. You will
|
||||
need to explicitely set this option to
|
||||
<literal>true</literal>, or configure your firewall.
|
||||
need to explicitly set this option to <literal>true</literal>,
|
||||
or configure your firewall.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
|
|
@ -9,7 +9,7 @@ You have two options:
|
|||
- Combine them with (any of) your host config(s)
|
||||
|
||||
System images, such as the live installer ones, know how to enforce configuration settings
|
||||
on wich they immediately depend in order to work correctly.
|
||||
on which they immediately depend in order to work correctly.
|
||||
|
||||
However, if you are confident, you can opt to override those
|
||||
enforced values with `mkForce`.
|
||||
|
@ -75,6 +75,6 @@ configuration values upon which the correct functioning of the image depends.
|
|||
For example, the iso base image overrides those file systems which it needs at a minimum
|
||||
for correct functioning, while the installer base image overrides the entire file system
|
||||
layout because there can't be any other guarantees on a live medium than those given
|
||||
by the live medium itself. The latter is especially true befor formatting the target
|
||||
by the live medium itself. The latter is especially true before formatting the target
|
||||
block device(s). On the other hand, the netboot iso only overrides its minimum dependencies
|
||||
since netboot images are always made-to-target.
|
||||
|
|
|
@ -158,7 +158,7 @@ The first steps to all these are the same:
|
|||
|
||||
You\'ll likely want to set a root password for your first boot using
|
||||
the configuration files because you won\'t have a chance to enter a
|
||||
password until after you reboot. You can initalize the root password
|
||||
password until after you reboot. You can initialize the root password
|
||||
to an empty one with this line: (and of course don\'t forget to set
|
||||
one once you\'ve rebooted or to lock the account with
|
||||
`sudo passwd -l root` if you use `sudo`)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Installing in a VirtualBox guest {#sec-instaling-virtualbox-guest}
|
||||
# Installing in a VirtualBox guest {#sec-installing-virtualbox-guest}
|
||||
|
||||
Installing NixOS into a VirtualBox guest is convenient for users who
|
||||
want to try NixOS without installing it on bare metal. If you want to
|
||||
|
|
|
@ -162,7 +162,7 @@ network manually, disable NetworkManager with
|
|||
`systemctl stop NetworkManager`.
|
||||
|
||||
On the minimal installer, NetworkManager is not available, so
|
||||
configuration must be perfomed manually. To configure the wifi, first
|
||||
configuration must be performed manually. To configure the wifi, first
|
||||
start wpa_supplicant with `sudo systemctl start wpa_supplicant`, then
|
||||
run `wpa_cli`. For most home networks, you need to type in the following
|
||||
commands:
|
||||
|
|
|
@ -202,7 +202,7 @@ When upgrading from a previous release, please be aware of the following incompa
|
|||
}
|
||||
```
|
||||
|
||||
- `services.udev.extraRules` option now writes rules to `99-local.rules` instead of `10-local.rules`. This makes all the user rules apply after others, so their results wouldn\'t be overriden by anything else.
|
||||
- `services.udev.extraRules` option now writes rules to `99-local.rules` instead of `10-local.rules`. This makes all the user rules apply after others, so their results wouldn\'t be overridden by anything else.
|
||||
|
||||
- Large parts of the `services.gitlab` module has been been rewritten. There are new configuration options available. The `stateDir` option was renamned to `statePath` and the `satellitesDir` option was removed. Please review the currently available options.
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ When upgrading from a previous release, please be aware of the following incompa
|
|||
|
||||
- `cc-wrapper`\'s setup-hook now exports a number of environment variables corresponding to binutils binaries, (e.g. `LD`, `STRIP`, `RANLIB`, etc). This is done to prevent packages\' build systems guessing, which is harder to predict, especially when cross-compiling. However, some packages have broken due to this---their build systems either not supporting, or claiming to support without adequate testing, taking such environment variables as parameters.
|
||||
|
||||
- `services.firefox.syncserver` now runs by default as a non-root user. To accomodate this change, the default sqlite database location has also been changed. Migration should work automatically. Refer to the description of the options for more details.
|
||||
- `services.firefox.syncserver` now runs by default as a non-root user. To accommodate this change, the default sqlite database location has also been changed. Migration should work automatically. Refer to the description of the options for more details.
|
||||
|
||||
- The `compiz` window manager and package was removed. The system support had been broken for several years.
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ When upgrading from a previous release, please be aware of the following incompa
|
|||
|
||||
- OpenSMTPD has been upgraded to version 6.4.0p1. This release makes backwards-incompatible changes to the configuration file format. See `man smtpd.conf` for more information on the new file format.
|
||||
|
||||
- The versioned `postgresql` have been renamed to use underscore number seperators. For example, `postgresql96` has been renamed to `postgresql_9_6`.
|
||||
- The versioned `postgresql` have been renamed to use underscore number separators. For example, `postgresql96` has been renamed to `postgresql_9_6`.
|
||||
|
||||
- Package `consul-ui` and passthrough `consul.ui` have been removed. The package `consul` now uses upstream releases that vendor the UI into the binary. See [\#48714](https://github.com/NixOS/nixpkgs/pull/48714#issuecomment-433454834) for details.
|
||||
|
||||
|
|
|
@ -154,13 +154,13 @@ When upgrading from a previous release, please be aware of the following incompa
|
|||
|
||||
- The setopt declarations will be evaluated at the end of `/etc/zshrc`, so any code in [programs.zsh.interactiveShellInit](options.html#opt-programs.zsh.interactiveShellInit), [programs.zsh.loginShellInit](options.html#opt-programs.zsh.loginShellInit) and [programs.zsh.promptInit](options.html#opt-programs.zsh.promptInit) may break if it relies on those options being set.
|
||||
|
||||
- The `prometheus-nginx-exporter` package now uses the offical exporter provided by NGINX Inc. Its metrics are differently structured and are incompatible to the old ones. For information about the metrics, have a look at the [official repo](https://github.com/nginxinc/nginx-prometheus-exporter).
|
||||
- The `prometheus-nginx-exporter` package now uses the official exporter provided by NGINX Inc. Its metrics are differently structured and are incompatible to the old ones. For information about the metrics, have a look at the [official repo](https://github.com/nginxinc/nginx-prometheus-exporter).
|
||||
|
||||
- The `shibboleth-sp` package has been updated to version 3. It is largely backward compatible, for further information refer to the [release notes](https://wiki.shibboleth.net/confluence/display/SP3/ReleaseNotes) and [upgrade guide](https://wiki.shibboleth.net/confluence/display/SP3/UpgradingFromV2).
|
||||
|
||||
Nodejs 8 is scheduled EOL under the lifetime of 19.09 and has been dropped.
|
||||
|
||||
- By default, prometheus exporters are now run with `DynamicUser` enabled. Exporters that need a real user, now run under a seperate user and group which follow the pattern `<exporter-name>-exporter`, instead of the previous default `nobody` and `nogroup`. Only some exporters are affected by the latter, namely the exporters `dovecot`, `node`, `postfix` and `varnish`.
|
||||
- By default, prometheus exporters are now run with `DynamicUser` enabled. Exporters that need a real user, now run under a separate user and group which follow the pattern `<exporter-name>-exporter`, instead of the previous default `nobody` and `nogroup`. Only some exporters are affected by the latter, namely the exporters `dovecot`, `node`, `postfix` and `varnish`.
|
||||
|
||||
- The `ibus-qt` package is not installed by default anymore when [i18n.inputMethod.enabled](options.html#opt-i18n.inputMethod.enabled) is set to `ibus`. If IBus support in Qt 4.x applications is required, add the `ibus-qt` package to your [environment.systemPackages](options.html#opt-environment.systemPackages) manually.
|
||||
|
||||
|
|
|
@ -369,7 +369,7 @@ When upgrading from a previous release, please be aware of the following incompa
|
|||
|
||||
- The zookeeper package does not provide `zooInspector.sh` anymore, as that \"contrib\" has been dropped from upstream releases.
|
||||
|
||||
- In the ACME module, the data used to build the hash for the account directory has changed to accomodate new features to reduce account rate limit issues. This will trigger new account creation on the first rebuild following this update. No issues are expected to arise from this, thanks to the new account creation handling.
|
||||
- In the ACME module, the data used to build the hash for the account directory has changed to accommodate new features to reduce account rate limit issues. This will trigger new account creation on the first rebuild following this update. No issues are expected to arise from this, thanks to the new account creation handling.
|
||||
|
||||
- [users.users._name_.createHome](options.html#opt-users.users._name_.createHome) now always ensures home directory permissions to be `0700`. Permissions had previously been ignored for already existing home directories, possibly leaving them readable by others. The option\'s description was incorrect regarding ownership management and has been simplified greatly.
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||
|
||||
- [kanidm](https://kanidm.github.io/kanidm/stable/), an identity management server written in Rust. Available as [services.kanidm](#opt-services.kanidm.enableServer)
|
||||
|
||||
- [Maddy](https://maddy.email/), a free an open source mail server. Availabe as [services.maddy](#opt-services.maddy.enable).
|
||||
- [Maddy](https://maddy.email/), a free an open source mail server. Available as [services.maddy](#opt-services.maddy.enable).
|
||||
|
||||
- [matrix-conduit](https://conduit.rs/), a simple, fast and reliable chat server powered by matrix. Available as [services.matrix-conduit](option.html#opt-services.matrix-conduit.enable).
|
||||
|
||||
|
@ -562,7 +562,7 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||
- `pkgs._7zz` is now correctly licensed as LGPL3+ and BSD3 with optional unfree unRAR licensed code
|
||||
|
||||
- The `vim.customize` function produced by `vimUtils.makeCustomizable` now has a slightly different interface:
|
||||
* The wrapper now includes everything in the given Vim derivation if `name` is `"vim"` (the default). This makes the `wrapManual` argument obsolete, but this behavior can be overriden by setting the `standalone` argument.
|
||||
* The wrapper now includes everything in the given Vim derivation if `name` is `"vim"` (the default). This makes the `wrapManual` argument obsolete, but this behavior can be overridden by setting the `standalone` argument.
|
||||
* All the executables present in the given derivation (or, in `standalone` mode, only the `*vim` ones) are wrapped. This makes the `wrapGui` argument obsolete.
|
||||
* The `vimExecutableName` and `gvimExecutableName` arguments were replaced by a single `executableName` argument in which the shell variable `$exe` can be used to refer to the wrapped executable's name.
|
||||
|
||||
|
|
|
@ -385,7 +385,7 @@ In addition to numerous new and upgraded packages, this release includes the fol
|
|||
|
||||
- memtest86+ was updated from 5.00-coreboot-002 to 6.00-beta2. It is now the upstream version from https://www.memtest.org/, as coreboot's fork is no longer available.
|
||||
|
||||
- Option descriptions, examples, and defaults writting in DocBook are now deprecated. Using CommonMark is preferred and will become the default in a future release.
|
||||
- Option descriptions, examples, and defaults writing in DocBook are now deprecated. Using CommonMark is preferred and will become the default in a future release.
|
||||
|
||||
- The `documentation.nixos.options.allowDocBook` option was added to ease the transition to CommonMark option documentation. Setting this option to `false` causes an error for every option included in the manual that uses DocBook documentation; it defaults to `true` to preserve the previous behavior and will be removed once the transition to CommonMark is complete.
|
||||
|
||||
|
|
|
@ -37,11 +37,11 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||
|
||||
- `services.sourcehut.dispatch` and the corresponding package (`sourcehut.dispatchsrht`) have been removed due to [upstream deprecation](https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/).
|
||||
|
||||
- The [services.snapserver.openFirewall](#opt-services.snapserver.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall.
|
||||
- The [services.snapserver.openFirewall](#opt-services.snapserver.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitly set this option to `true`, or configure your firewall.
|
||||
|
||||
- The [services.tmate-ssh-server.openFirewall](#opt-services.tmate-ssh-server.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall.
|
||||
- The [services.tmate-ssh-server.openFirewall](#opt-services.tmate-ssh-server.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitly set this option to `true`, or configure your firewall.
|
||||
|
||||
- The [services.unifi-video.openFirewall](#opt-services.unifi-video.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitely set this option to `true`, or configure your firewall.
|
||||
- The [services.unifi-video.openFirewall](#opt-services.unifi-video.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitly set this option to `true`, or configure your firewall.
|
||||
|
||||
- The EC2 image module previously detected and automatically mounted ext3-formatted instance store devices and partitions in stage-1 (initramfs), storing `/tmp` on the first discovered device. This behaviour, which only catered to very specific use cases and could not be disabled, has been removed. Users relying on this should provide their own implementation, and probably use ext4 and perform the mount in stage-2.
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, options
|
||||
, transformOptions ? lib.id # function for additional tranformations of the options
|
||||
, transformOptions ? lib.id # function for additional transformations of the options
|
||||
, documentType ? "appendix" # TODO deprecate "appendix" in favor of "none"
|
||||
# and/or rename function to moduleOptionDoc for clean slate
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ let
|
|||
# https://salsa.debian.org/debian/gnupg2/-/blob/debian/main/debian/scdaemon.udev
|
||||
|
||||
# the latest rev of the entire debian gnupg2 repo as of 2021-04-28
|
||||
# the scdaemon.udev file was last commited on 2021-01-05 (7817a03):
|
||||
# the scdaemon.udev file was last committed on 2021-01-05 (7817a03):
|
||||
scdaemonUdevRev = "01898735a015541e3ffb43c7245ac1e612f40836";
|
||||
|
||||
scdaemonRules = pkgs.fetchurl {
|
||||
|
|
|
@ -110,7 +110,7 @@ in
|
|||
boot.extraModulePackages = [ kernelPackages.openrazer ];
|
||||
boot.kernelModules = drivers;
|
||||
|
||||
# Makes the man pages available so you can succesfully run
|
||||
# Makes the man pages available so you can successfully run
|
||||
# > systemctl --user help openrazer-daemon
|
||||
environment.systemPackages = [ pkgs.python3Packages.openrazer-daemon.man ];
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ in {
|
|||
default = {};
|
||||
description = lib.mdDoc ''
|
||||
Sets PPD options for the printer.
|
||||
{command}`lpoptions [-p printername] -l` shows suported PPD options for the given printer.
|
||||
{command}`lpoptions [-p printername] -l` shows supported PPD options for the given printer.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -81,7 +81,7 @@ let
|
|||
|
||||
# The configuration file for syslinux.
|
||||
|
||||
# Notes on syslinux configuration and UNetbootin compatiblity:
|
||||
# Notes on syslinux configuration and UNetbootin compatibility:
|
||||
# * Do not use '/syslinux/syslinux.cfg' as the path for this
|
||||
# configuration. UNetbootin will not parse the file and use it as-is.
|
||||
# This results in a broken configuration if the partition label does
|
||||
|
|
|
@ -27,7 +27,7 @@ in
|
|||
variable (defaults to the value of
|
||||
{option}`system.nixos.version`).
|
||||
|
||||
Can be overriden by setting {env}`NIXOS_LABEL`.
|
||||
Can be overridden by setting {env}`NIXOS_LABEL`.
|
||||
|
||||
Useful for not loosing track of configurations built from different
|
||||
nixos branches/revisions, e.g.:
|
||||
|
|
|
@ -714,7 +714,7 @@ in {
|
|||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Whether to use the root user when generating certs. This is not recommended
|
||||
for security + compatiblity reasons. If a service requires root owned certificates
|
||||
for security + compatibility reasons. If a service requires root owned certificates
|
||||
consider following the guide on "Using ACME with services demanding root
|
||||
owned certificates" in the NixOS manual, and only using this as a fallback
|
||||
or for testing.
|
||||
|
@ -765,7 +765,7 @@ in {
|
|||
To use the let's encrypt staging server, use security.acme.server =
|
||||
"https://acme-staging-v02.api.letsencrypt.org/directory".
|
||||
'')
|
||||
(mkRemovedOptionModule [ "security" "acme" "directory" ] "ACME Directory is now hardcoded to /var/lib/acme and its permisisons are managed by systemd. See https://github.com/NixOS/nixpkgs/issues/53852 for more info.")
|
||||
(mkRemovedOptionModule [ "security" "acme" "directory" ] "ACME Directory is now hardcoded to /var/lib/acme and its permissions are managed by systemd. See https://github.com/NixOS/nixpkgs/issues/53852 for more info.")
|
||||
(mkRemovedOptionModule [ "security" "acme" "preDelay" ] "This option has been removed. If you want to make sure that something executes before certificates are provisioned, add a RequiredBy=acme-\${cert}.service to the service you want to execute before the cert renewal")
|
||||
(mkRemovedOptionModule [ "security" "acme" "activationDelay" ] "This option has been removed. If you want to make sure that something executes before certificates are provisioned, add a RequiredBy=acme-\${cert}.service to the service you want to execute before the cert renewal")
|
||||
(mkChangedOptionModule [ "security" "acme" "validMin" ] [ "security" "acme" "defaults" "validMinDays" ] (config: config.security.acme.validMin / (24 * 3600)))
|
||||
|
|
|
@ -202,7 +202,7 @@ in
|
|||
# (indirectly read from /etc/apparmor.d/*, without recursing into sub-directory).
|
||||
# Note that this does not remove profiles dynamically generated by libvirt.
|
||||
[ "${pkgs.apparmor-utils}/bin/aa-remove-unknown" ] ++
|
||||
# Optionaly kill the processes which are unconfined but now have a profile loaded
|
||||
# Optionally kill the processes which are unconfined but now have a profile loaded
|
||||
# (because AppArmor can only start to confine new processes).
|
||||
optional cfg.killUnconfinedConfinables killUnconfinedConfinables;
|
||||
ExecStop = "${pkgs.apparmor-utils}/bin/aa-teardown";
|
||||
|
|
|
@ -282,7 +282,7 @@ let
|
|||
defaultText = literalExpression "config.security.pam.mount.enable";
|
||||
type = types.bool;
|
||||
description = lib.mdDoc ''
|
||||
Enable PAM mount (pam_mount) system to mount fileystems on user login.
|
||||
Enable PAM mount (pam_mount) system to mount filesystems on user login.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -305,7 +305,7 @@ let
|
|||
default = false;
|
||||
type = types.bool;
|
||||
description = lib.mdDoc ''
|
||||
Wheather the delay after typing a wrong password should be disabled.
|
||||
Whether the delay after typing a wrong password should be disabled.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ in
|
|||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Enable PAM mount system to mount fileystems on user login.
|
||||
Enable PAM mount system to mount filesystems on user login.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ in
|
|||
internal = true;
|
||||
description = lib.mdDoc ''
|
||||
This option defines the path to the wrapper programs. It
|
||||
should not be overriden.
|
||||
should not be overridden.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ in {
|
|||
|
||||
hostname = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
description = lib.mdDoc "DNS name or IP address that will be used for the stream directory lookups or possibily the playlist generation if a Host header is not provided.";
|
||||
description = lib.mdDoc "DNS name or IP address that will be used for the stream directory lookups or possibly the playlist generation if a Host header is not provided.";
|
||||
default = config.networking.domain;
|
||||
defaultText = literalExpression "config.networking.domain";
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ in {
|
|||
enable = mkEnableOption (lib.mdDoc "ZFS snapshot replication.");
|
||||
|
||||
followDelete = mkOption {
|
||||
description = lib.mdDoc "Remove remote snapshots that don't have a local correspondant.";
|
||||
description = lib.mdDoc "Remove remote snapshots that don't have a local correspondent.";
|
||||
default = true;
|
||||
type = types.bool;
|
||||
};
|
||||
|
@ -30,7 +30,7 @@ in {
|
|||
};
|
||||
|
||||
localFilesystem = mkOption {
|
||||
description = lib.mdDoc "Local ZFS fileystem from which snapshots should be sent. Defaults to the attribute name.";
|
||||
description = lib.mdDoc "Local ZFS filesystem from which snapshots should be sent. Defaults to the attribute name.";
|
||||
example = "pool/file/path";
|
||||
type = types.str;
|
||||
};
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
The znapzend backup plan to use for the source.
|
||||
|
||||
The plan specifies how often to backup and for how long to keep the
|
||||
backups. It consists of a series of retention periodes to interval
|
||||
backups. It consists of a series of retention periods to interval
|
||||
associations:
|
||||
|
||||
```
|
||||
|
@ -268,7 +268,7 @@ let
|
|||
|
||||
mkSrcAttrs = srcCfg: with srcCfg; {
|
||||
enabled = onOff enable;
|
||||
# mbuffer is not referenced by its full path to accomodate non-NixOS systems or differing mbuffer versions between source and target
|
||||
# mbuffer is not referenced by its full path to accommodate non-NixOS systems or differing mbuffer versions between source and target
|
||||
mbuffer = with mbuffer; if enable then "mbuffer"
|
||||
+ optionalString (port != null) ":${toString port}" else "off";
|
||||
mbuffer_size = mbuffer.size;
|
||||
|
@ -372,7 +372,7 @@ in
|
|||
compressed feature which adds the options `-Lce` to
|
||||
the {command}`zfs send` command. When this is enabled, make
|
||||
sure that both the sending and receiving pool have the same relevant
|
||||
features enabled. Using `-c` will skip unneccessary
|
||||
features enabled. Using `-c` will skip unnecessary
|
||||
decompress-compress stages, `-L` is for large block
|
||||
support and -e is for embedded data support. see
|
||||
{manpage}`znapzend(1)`
|
||||
|
|
|
@ -51,7 +51,7 @@ in {
|
|||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Explictly disables syncing of deposit logs from the execution node.
|
||||
Explicitly disables syncing of deposit logs from the execution node.
|
||||
This overrides any previous option that depends on it.
|
||||
Useful if you intend to run a non-validating beacon node.
|
||||
'';
|
||||
|
|
|
@ -22,7 +22,7 @@ in
|
|||
|
||||
bootstrapAddons = mkOption {
|
||||
description = lib.mdDoc ''
|
||||
Bootstrap addons are like regular addons, but they are applied with cluster-admin rigths.
|
||||
Bootstrap addons are like regular addons, but they are applied with cluster-admin rights.
|
||||
They are applied at addon-manager startup only.
|
||||
'';
|
||||
default = { };
|
||||
|
|
|
@ -323,7 +323,7 @@ in
|
|||
systemctl restart flannel
|
||||
''}
|
||||
|
||||
echo "Node joined succesfully"
|
||||
echo "Node joined successfully"
|
||||
'')];
|
||||
|
||||
# isolate etcd on loopback at the master node
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# NixOS module for Buildbot continous integration server.
|
||||
# NixOS module for Buildbot continuous integration server.
|
||||
|
||||
{ config, lib, options, pkgs, ... }:
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ with lib;
|
|||
registration token on startup as needed. Make sure the PAT has a scope of
|
||||
`admin:org` for organization-wide registrations or a scope of
|
||||
`repo` for a single repository. Fine-grained PATs need read and write permission
|
||||
to the "Adminstration" resources.
|
||||
to the "Administration" resources.
|
||||
|
||||
Changing this option or the file's content triggers a new runner registration.
|
||||
'';
|
||||
|
|
|
@ -141,7 +141,7 @@ in
|
|||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Finish all remaining jobs before stopping.
|
||||
If not set gitlab-runner will stop immediatly without waiting
|
||||
If not set gitlab-runner will stop immediately without waiting
|
||||
for jobs to finish, which will lead to failed builds.
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -15,8 +15,8 @@ in {
|
|||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Enables the Hail Auto Update Service. Hail can automatically deploy artifacts
|
||||
built by a Hydra Continous Integration server. A common use case is to provide
|
||||
continous deployment for single services or a full NixOS configuration.'';
|
||||
built by a Hydra Continuous Integration server. A common use case is to provide
|
||||
continuous deployment for single services or a full NixOS configuration.'';
|
||||
};
|
||||
profile = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#
|
||||
# Be careful, virtuoso-opensource also provides a different isql command !
|
||||
|
||||
# There are at least two ways to run firebird. superserver has been choosen
|
||||
# There are at least two ways to run firebird. superserver has been chosen
|
||||
# however there are no strong reasons to prefer this or the other one AFAIK
|
||||
# Eg superserver is said to be most efficiently using resources according to
|
||||
# http://www.firebirdsql.org/manual/qsg25-classic-or-super.html
|
||||
|
|
|
@ -45,7 +45,7 @@ in
|
|||
default = !(cfg.settings ? initial_session);
|
||||
defaultText = literalExpression "!(config.services.greetd.settings ? initial_session)";
|
||||
description = lib.mdDoc ''
|
||||
Wether to restart greetd when it terminates (e.g. on failure).
|
||||
Whether to restart greetd when it terminates (e.g. on failure).
|
||||
This is usually desirable so a user can always log in, but should be disabled when using 'settings.initial_session' (autologin),
|
||||
because every greetd restart will trigger the autologin again.
|
||||
'';
|
||||
|
|
|
@ -35,7 +35,7 @@ in
|
|||
description = lib.mdDoc ''
|
||||
If enabled, starts the ArchisSteamFarm service.
|
||||
For configuring the SteamGuard token you will need to use the web-ui, which is enabled by default over on 127.0.0.1:1242.
|
||||
You cannot configure ASF in any way outside of nix, since all the config files get wiped on restart and replaced with the programatically set ones by nix.
|
||||
You cannot configure ASF in any way outside of nix, since all the config files get wiped on restart and replaced with the programnatically set ones by nix.
|
||||
'';
|
||||
default = false;
|
||||
};
|
||||
|
@ -98,7 +98,7 @@ in
|
|||
ipcPasswordFile = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
description = lib.mdDoc "Path to a file containig the password. The file must be readable by the `asf` user/group.";
|
||||
description = lib.mdDoc "Path to a file containing the password. The file must be readable by the `asf` user/group.";
|
||||
};
|
||||
|
||||
ipcSettings = mkOption {
|
||||
|
@ -129,7 +129,7 @@ in
|
|||
};
|
||||
passwordFile = mkOption {
|
||||
type = types.path;
|
||||
description = lib.mdDoc "Path to a file containig the password. The file must be readable by the `asf` user/group.";
|
||||
description = lib.mdDoc "Path to a file containing the password. The file must be readable by the `asf` user/group.";
|
||||
};
|
||||
enabled = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -62,7 +62,7 @@ in
|
|||
Path to logfile for logging.
|
||||
|
||||
If set to null, logging will be output to stdout which means
|
||||
all output will be catched by systemd.
|
||||
all output will be caught by systemd.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ in {
|
|||
[lircd]
|
||||
nodaemon = False
|
||||
'';
|
||||
description = lib.mdDoc "LIRC default options descriped in man:lircd(8) ({file}`lirc_options.conf`)";
|
||||
description = lib.mdDoc "LIRC default options described in man:lircd(8) ({file}`lirc_options.conf`)";
|
||||
};
|
||||
|
||||
configs = mkOption {
|
||||
|
|
|
@ -141,7 +141,7 @@ in
|
|||
description = lib.mdDoc ''
|
||||
Enable saned network daemon for remote connection to scanners.
|
||||
|
||||
saned would be runned from `scanner` user; to allow
|
||||
saned would be run from `scanner` user; to allow
|
||||
access to hardware that doesn't have `scanner` group
|
||||
you should add needed groups to this user.
|
||||
'';
|
||||
|
|
|
@ -163,7 +163,7 @@ in
|
|||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
How often to rotate the logs. Defaults to previously set global setting,
|
||||
which itself defauts to weekly.
|
||||
which itself defaults to weekly.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ in {
|
|||
type = types.str;
|
||||
example = "/run/secrets/ldap-bind";
|
||||
description = lib.mdDoc ''
|
||||
Path to the file containing the bind password of the servie account
|
||||
Path to the file containing the bind password of the service account
|
||||
defined by [](#opt-services.mailman.ldap.bindDn).
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -234,12 +234,12 @@ let
|
|||
|
||||
headerChecks = concatStringsSep "\n" (map (x: "${x.pattern} ${x.action}") cfg.headerChecks) + cfg.extraHeaderChecks;
|
||||
|
||||
aliases = let seperator = if cfg.aliasMapType == "hash" then ":" else ""; in
|
||||
aliases = let separator = if cfg.aliasMapType == "hash" then ":" else ""; in
|
||||
optionalString (cfg.postmasterAlias != "") ''
|
||||
postmaster${seperator} ${cfg.postmasterAlias}
|
||||
postmaster${separator} ${cfg.postmasterAlias}
|
||||
''
|
||||
+ optionalString (cfg.rootAlias != "") ''
|
||||
root${seperator} ${cfg.rootAlias}
|
||||
root${separator} ${cfg.rootAlias}
|
||||
''
|
||||
+ cfg.extraAliases
|
||||
;
|
||||
|
|
|
@ -39,7 +39,7 @@ in
|
|||
'';
|
||||
|
||||
description = lib.mdDoc ''
|
||||
The package which contains roundcube's sources. Can be overriden to create
|
||||
The package which contains roundcube's sources. Can be overridden to create
|
||||
an environment which contains roundcube and third-party plugins.
|
||||
'';
|
||||
};
|
||||
|
@ -92,7 +92,7 @@ in
|
|||
default = [];
|
||||
example = literalExpression "with pkgs.aspellDicts; [ en fr de ]";
|
||||
description = lib.mdDoc ''
|
||||
List of aspell dictionnaries for spell checking. If empty, spell checking is disabled.
|
||||
List of aspell dictionaries for spell checking. If empty, spell checking is disabled.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ in {
|
|||
`MAUTRIX_TELEGRAM_TELEGRAM_BOT_TOKEN`.
|
||||
|
||||
These environment variables can also be used to set other options by
|
||||
replacing hierachy levels by `.`, converting the name to uppercase
|
||||
replacing hierarchy levels by `.`, converting the name to uppercase
|
||||
and prepending `MAUTRIX_TELEGRAM_`.
|
||||
For example, the first value above maps to
|
||||
{option}`settings.appservice.as_token`.
|
||||
|
@ -140,7 +140,7 @@ in {
|
|||
path = [ pkgs.lottieconverter ];
|
||||
|
||||
# mautrix-telegram tries to generate a dotfile in the home directory of
|
||||
# the running user if using a postgresql databse:
|
||||
# the running user if using a postgresql database:
|
||||
#
|
||||
# File "python3.10/site-packages/asyncpg/connect_utils.py", line 257, in _dot_postgre>
|
||||
# return (pathlib.Path.home() / '.postgresql' / filename).resolve()
|
||||
|
|
|
@ -80,7 +80,7 @@ in {
|
|||
(mkRemovedOptionModule [ "services" "matrix-synapse" "user_creation_max_duration" ] "It is no longer supported by synapse." )
|
||||
(mkRemovedOptionModule [ "services" "matrix-synapse" "verbose" ] "Use a log config instead." )
|
||||
|
||||
# options that were moved into rfc42 style settigns
|
||||
# options that were moved into rfc42 style settings
|
||||
(mkRemovedOptionModule [ "services" "matrix-synapse" "app_service_config_files" ] "Use settings.app_service_config_files instead" )
|
||||
(mkRemovedOptionModule [ "services" "matrix-synapse" "database_args" ] "Use settings.database.args instead" )
|
||||
(mkRemovedOptionModule [ "services" "matrix-synapse" "database_name" ] "Use settings.database.args.database instead" )
|
||||
|
|
|
@ -114,7 +114,7 @@ in
|
|||
};
|
||||
|
||||
components = mkOption {
|
||||
description = lib.mdDoc "An atttribute set in which each key represents a container and each value an attribute set in which each key represents a component and each value a derivation constructing its initial state";
|
||||
description = lib.mdDoc "An attribute set in which each key represents a container and each value an attribute set in which each key represents a component and each value a derivation constructing its initial state";
|
||||
default = {};
|
||||
type = types.attrsOf types.attrs;
|
||||
};
|
||||
|
|
|
@ -192,7 +192,7 @@ in {
|
|||
password = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = lib.mdDoc "User password used for connetion to the database";
|
||||
description = lib.mdDoc "User password used for connection to the database";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -183,7 +183,7 @@ in
|
|||
file = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = lib.mdDoc "Filename to be used for the dump. If `null` a default name is choosen by gitea.";
|
||||
description = lib.mdDoc "Filename to be used for the dump. If `null` a default name is chosen by gitea.";
|
||||
example = "gitea-dump";
|
||||
};
|
||||
};
|
||||
|
@ -487,7 +487,7 @@ in
|
|||
|
||||
# In older versions the secret naming for JWT was kind of confusing.
|
||||
# The file jwt_secret hold the value for LFS_JWT_SECRET and JWT_SECRET
|
||||
# wasn't persistant at all.
|
||||
# wasn't persistent at all.
|
||||
# To fix that, there is now the file oauth2_jwt_secret containing the
|
||||
# values for JWT_SECRET and the file jwt_secret gets renamed to
|
||||
# lfs_jwt_secret.
|
||||
|
|
|
@ -141,7 +141,7 @@ services.gitlab = {
|
|||
</para>
|
||||
|
||||
<para>
|
||||
A list of all availabe rake tasks can be obtained by running:
|
||||
A list of all available rake tasks can be obtained by running:
|
||||
<screen>
|
||||
<prompt>$ </prompt>sudo -u git -H gitlab-rake -T
|
||||
</screen>
|
||||
|
|
|
@ -81,7 +81,7 @@ in
|
|||
ProtectKernelTunables = !config.boot.isContainer;
|
||||
LockPersonality = true;
|
||||
PrivateTmp = !config.boot.isContainer;
|
||||
# needed for hardware accelaration
|
||||
# needed for hardware acceleration
|
||||
PrivateDevices = false;
|
||||
PrivateUsers = true;
|
||||
RemoveIPC = true;
|
||||
|
|
|
@ -609,7 +609,7 @@ in
|
|||
|
||||
By default, pseudo-features `nixos-test`, `benchmark`,
|
||||
and `big-parallel` used in Nixpkgs are set, `kvm`
|
||||
is also included in it is avaliable.
|
||||
is also included in it is available.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -642,7 +642,7 @@ in
|
|||
description = lib.mdDoc ''
|
||||
Configuration for Nix, see
|
||||
<https://nixos.org/manual/nix/stable/#sec-conf-file> or
|
||||
{manpage}`nix.conf(5)` for avalaible options.
|
||||
{manpage}`nix.conf(5)` for available options.
|
||||
The value declared here will be translated directly to the key-value pairs Nix expects.
|
||||
|
||||
You can use {command}`nix-instantiate --eval --strict '<nixpkgs/nixos>' -A config.nix.settings`
|
||||
|
|
|
@ -12,7 +12,7 @@ in
|
|||
example = "/run/secrets/password.env";
|
||||
description = lib.mdDoc ''
|
||||
The path to a file containing the PASSWORD environment variable
|
||||
definition for Podgrab's authentification.
|
||||
definition for Podgrab's authentication.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ in
|
|||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
Wether to enable LDAPS protocol.
|
||||
Whether to enable LDAPS protocol.
|
||||
This also adds two entries to the `/etc/hosts` file to point [](#opt-services.portunus.domain) to localhost,
|
||||
so that CLIs and programs can use ldaps protocol and verify the certificate without opening the firewall port for the protocol.
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ in {
|
|||
23424 # mediabrowser
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
1900 # UPnP service discovey
|
||||
1900 # UPnP service discovery
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -71,7 +71,7 @@ let
|
|||
# Note that each systemd service gets its own ${runDir}/config.ini file.
|
||||
ExecStartPre = mkBefore [("+"+pkgs.writeShellScript "${serviceName}-credentials" ''
|
||||
set -x
|
||||
# Replace values begining with a '<' by the content of the file whose name is after.
|
||||
# Replace values beginning with a '<' by the content of the file whose name is after.
|
||||
gawk '{ if (match($0,/^([^=]+=)<(.+)/,m)) { getline f < m[2]; print m[1] f } else print $0 }' ${configIni} |
|
||||
${optionalString (!allowStripe) "gawk '!/^stripe-secret-key=/' |"}
|
||||
install -o ${srvCfg.user} -g root -m 400 /dev/stdin ${runDir}/config.ini
|
||||
|
|
|
@ -145,7 +145,7 @@ in {
|
|||
in lib.mdDoc ''
|
||||
Whether to enable the Taskwarrior server.
|
||||
|
||||
More instructions about NixOS in conjuction with Taskserver can be
|
||||
More instructions about NixOS in conjunction with Taskserver can be
|
||||
found [in the NixOS manual](${url}).
|
||||
'';
|
||||
};
|
||||
|
@ -251,7 +251,7 @@ in {
|
|||
client id (such as `task 2.3.0`).
|
||||
|
||||
The values `all` or `none` have
|
||||
special meaning. Overidden by any entry in the option
|
||||
special meaning. Overridden by any entry in the option
|
||||
{option}`services.taskserver.disallowedClientIDs`.
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -154,14 +154,14 @@ in {
|
|||
};
|
||||
|
||||
blacklist = mkOption {
|
||||
description = lib.mdDoc "Any metrics received which match one of the experssions will be dropped.";
|
||||
description = lib.mdDoc "Any metrics received which match one of the expressions will be dropped.";
|
||||
default = null;
|
||||
type = types.nullOr types.str;
|
||||
example = "^some\\.noisy\\.metric\\.prefix\\..*";
|
||||
};
|
||||
|
||||
whitelist = mkOption {
|
||||
description = lib.mdDoc "Only metrics received which match one of the experssions will be persisted.";
|
||||
description = lib.mdDoc "Only metrics received which match one of the expressions will be persisted.";
|
||||
default = null;
|
||||
type = types.nullOr types.str;
|
||||
example = ".*";
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
by default</link>, via http under <literal>/metrics</literal>. In this
|
||||
example the firewall should just allow incoming connections to the
|
||||
exporter's port on the bridge interface <literal>br0</literal> (this would
|
||||
have to be configured seperately of course). For more information about
|
||||
have to be configured separately of course). For more information about
|
||||
configuration see <literal>man configuration.nix</literal> or search through
|
||||
the
|
||||
<link xlink:href="https://nixos.org/nixos/options.html#prometheus.exporters">available
|
||||
|
@ -179,7 +179,7 @@ in
|
|||
# for the exporter's systemd service. One of
|
||||
# `serviceOpts.script` and `serviceOpts.serviceConfig.ExecStart`
|
||||
# has to be specified here. This will be merged with the default
|
||||
# service confiuration.
|
||||
# service configuration.
|
||||
# Note that by default 'DynamicUser' is 'true'.
|
||||
serviceOpts = {
|
||||
serviceConfig = {
|
||||
|
|
|
@ -17,7 +17,7 @@ in {
|
|||
settings that can all be used here: https://github.com/martin-helmich/prometheus-nginxlog-exporter
|
||||
|
||||
The `listen` object is already generated by `port`, `listenAddress` and `metricsEndpoint` and
|
||||
will be merged with the value of `settings` before writting it as JSON.
|
||||
will be merged with the value of `settings` before writing it as JSON.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@ let
|
|||
max-time = mkParamDef types.str "9999-12-31T23:59:59Z" ''
|
||||
End of time range limit to serve.
|
||||
|
||||
Thanos Store serves only blocks, which happened eariler than this
|
||||
Thanos Store serves only blocks, which happened earlier than this
|
||||
value. Option can be a constant time in RFC3339 format or time duration
|
||||
relative to current time, such as -1d or 2h45m. Valid duration units are
|
||||
ms, s, m, h, d, w, y.
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
upsOptions = {name, config, ...}:
|
||||
{
|
||||
options = {
|
||||
# This can be infered from the UPS model by looking at
|
||||
# This can be inferred from the UPS model by looking at
|
||||
# /nix/store/nut/share/driver.list
|
||||
driver = mkOption {
|
||||
type = types.str;
|
||||
|
@ -228,7 +228,7 @@ in
|
|||
"}
|
||||
'';
|
||||
"nut/upssched.conf".source = cfg.schedulerRules;
|
||||
# These file are containing private informations and thus should not
|
||||
# These file are containing private information and thus should not
|
||||
# be stored inside the Nix store.
|
||||
/*
|
||||
"nut/upsd.conf".source = "";
|
||||
|
|
|
@ -54,7 +54,7 @@ in
|
|||
|
||||
services.kubo = {
|
||||
|
||||
enable = mkEnableOption (lib.mdDoc "Interplanetary File System (WARNING: may cause severe network degredation)");
|
||||
enable = mkEnableOption (lib.mdDoc "Interplanetary File System (WARNING: may cause severe network degradation)");
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
|
|
@ -52,7 +52,7 @@ let
|
|||
chunkserverCfg = settingsFormat.generate
|
||||
"mfschunkserver.cfg" cfg.chunkserver.settings;
|
||||
|
||||
# generic template for all deamons
|
||||
# generic template for all daemons
|
||||
systemdService = name: extraConfig: configFile: {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
@ -94,7 +94,7 @@ in {
|
|||
Enable Moosefs master daemon.
|
||||
|
||||
You need to run `mfsmaster-init` on a freshly installed master server to
|
||||
initialize the `DATA_PATH` direcory.
|
||||
initialize the `DATA_PATH` directory.
|
||||
'';
|
||||
default = false;
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ in {
|
|||
fileSystems = mkOption {
|
||||
description = lib.mdDoc ''
|
||||
The orangefs file systems to be mounted.
|
||||
This option is prefered over using {option}`fileSystems` directly since
|
||||
This option is preferred over using {option}`fileSystems` directly since
|
||||
the pvfs client service needs to be running for it to be mounted.
|
||||
'';
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ in {
|
|||
after = [ "network-online.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
# Run as "simple" in forground mode.
|
||||
# Run as "simple" in foreground mode.
|
||||
# This is more reliable
|
||||
ExecStart = ''
|
||||
${pkgs.orangefs}/bin/pvfs2-server -d \
|
||||
|
|
|
@ -158,7 +158,7 @@ in {
|
|||
description = lib.mdDoc ''
|
||||
List of target IP ranges, use empty list for any.
|
||||
May also contain host names instead of addresses.
|
||||
It's possible to use wildmask in the begginning and in the the end of hostname, e.g. `*badsite.com` or `*badcontent*`.
|
||||
It's possible to use wildmask in the beginning and in the the end of hostname, e.g. `*badsite.com` or `*badcontent*`.
|
||||
Hostname is only checked if hostname presents in request.
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ in
|
|||
default = "/etc/ssl/certs/ca-certificates.crt";
|
||||
description = lib.mdDoc ''
|
||||
Specifies which file should be used as the list of trusted CA
|
||||
when negociating a TLS session.
|
||||
when negotiating a TLS session.
|
||||
'';
|
||||
};
|
||||
options.db_name = mkOption {
|
||||
|
@ -111,7 +111,7 @@ in
|
|||
description = lib.mdDoc ''
|
||||
A directory that should contain the policy files,
|
||||
used to customize Botan’s behaviour
|
||||
when negociating the TLS connections with the IRC servers.
|
||||
when negotiating the TLS connections with the IRC servers.
|
||||
'';
|
||||
};
|
||||
options.port = mkOption {
|
||||
|
|
|
@ -95,7 +95,7 @@ let
|
|||
}
|
||||
'';
|
||||
type = types.attrsOf (types.submodule rpcUserOpts);
|
||||
description = lib.mdDoc "RPC user information for JSON-RPC connnections.";
|
||||
description = lib.mdDoc "RPC user information for JSON-RPC connections.";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ in
|
|||
type = types.str;
|
||||
default = "127.0.0.1";
|
||||
description = lib.mdDoc ''
|
||||
The interface the BitlBee deamon will be listening to. If `127.0.0.1`,
|
||||
The interface the BitlBee daemon will be listening to. If `127.0.0.1`,
|
||||
only clients on the local host can connect to it; if `0.0.0.0`, clients
|
||||
can access it from any network interface.
|
||||
'';
|
||||
|
|
|
@ -142,7 +142,7 @@ in
|
|||
};
|
||||
|
||||
consulAddr = mkOption {
|
||||
description = lib.mdDoc "Consul api listening adddress";
|
||||
description = lib.mdDoc "Consul api listening address";
|
||||
default = "localhost:8500";
|
||||
type = types.str;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ in
|
|||
default = "[::]:4369";
|
||||
description = lib.mdDoc ''
|
||||
the listenStream used by the systemd socket.
|
||||
see https://www.freedesktop.org/software/systemd/man/systemd.socket.html#ListenStream= for more informations.
|
||||
see https://www.freedesktop.org/software/systemd/man/systemd.socket.html#ListenStream= for more information.
|
||||
use this to change the port epmd will run on.
|
||||
if not defined, epmd will use "[::]:4369"
|
||||
'';
|
||||
|
|
|
@ -55,7 +55,7 @@ in
|
|||
passwordFile = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = lib.mdDoc "File that containts password";
|
||||
description = lib.mdDoc "File that contains password";
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -92,7 +92,7 @@ in
|
|||
passwordFile = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = lib.mdDoc "File that containts password";
|
||||
description = lib.mdDoc "File that contains password";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -268,7 +268,7 @@ in
|
|||
type = types.attrsOf types.str;
|
||||
default = { };
|
||||
description = lib.mdDoc ''
|
||||
Domain map is used to map incomming users (by their email) to
|
||||
Domain map is used to map incoming users (by their email) to
|
||||
a namespace. The key can be a string, or regex.
|
||||
'';
|
||||
example = {
|
||||
|
@ -326,7 +326,7 @@ in
|
|||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
Path to a file containg ACL policies.
|
||||
Path to a file containing ACL policies.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ let
|
|||
hardenService =
|
||||
# Add some common systemd service hardening settings,
|
||||
# but allow each service (here) to override
|
||||
# settings by explicitely setting those to `null`.
|
||||
# settings by explicitly setting those to `null`.
|
||||
# More hardening would be nice but makes
|
||||
# customizing hylafax setups very difficult.
|
||||
# If at all, it should only be added along
|
||||
|
|
|
@ -473,7 +473,7 @@ in
|
|||
type = with types; nullOr str;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
Router Familiy to trust for first hops.
|
||||
Router Family to trust for first hops.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
port = mkOption {
|
||||
type = types.ints.u16;
|
||||
default = 5201;
|
||||
description = lib.mdDoc "Server port to listen on for iperf3 client requsts.";
|
||||
description = lib.mdDoc "Server port to listen on for iperf3 client requests.";
|
||||
};
|
||||
affinity = mkOption {
|
||||
type = types.nullOr types.ints.unsigned;
|
||||
|
|
|
@ -47,7 +47,7 @@ in
|
|||
type = listOf str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
List of additonal arguments to pass to the daemon.
|
||||
List of additional arguments to pass to the daemon.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -86,7 +86,7 @@ in
|
|||
type = listOf str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
List of additonal arguments to pass to the daemon.
|
||||
List of additional arguments to pass to the daemon.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -146,7 +146,7 @@ in
|
|||
type = listOf str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
List of additonal arguments to pass to the daemon.
|
||||
List of additional arguments to pass to the daemon.
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -207,7 +207,7 @@ in
|
|||
type = listOf str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
List of additonal arguments to pass to the daemon.
|
||||
List of additional arguments to pass to the daemon.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ in {
|
|||
type = types.listOf types.str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
List of additional command line paramters for knotd
|
||||
List of additional command line parameters for knotd
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ in
|
|||
type = types.bool;
|
||||
default = true;
|
||||
description = lib.mdDoc ''
|
||||
Whether to disable send and accept redirects for all nework interfaces.
|
||||
Whether to disable send and accept redirects for all network interfaces.
|
||||
See the Libreswan [
|
||||
FAQ](https://libreswan.org/wiki/FAQ#Why_is_it_recommended_to_disable_send_redirects_in_.2Fproc.2Fsys.2Fnet_.3F) page for why this is recommended.
|
||||
'';
|
||||
|
|
|
@ -87,7 +87,7 @@ in
|
|||
};
|
||||
};
|
||||
})
|
||||
# this is seperate so it can be enabled on mirrored hosts
|
||||
# this is separate so it can be enabled on mirrored hosts
|
||||
(mkIf (cfg.nginx.enable) {
|
||||
# https://github.com/Avature/lxd-image-server/blob/master/resources/nginx/includes/lxd-image-server.pkg.conf
|
||||
services.nginx.virtualHosts = {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue