aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/doc/manual
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/doc/manual')
-rw-r--r--nixpkgs/nixos/doc/manual/configuration/wireless.xml11
-rw-r--r--nixpkgs/nixos/doc/manual/installation/installing.xml2
-rw-r--r--nixpkgs/nixos/doc/manual/installation/upgrading.xml16
-rw-r--r--nixpkgs/nixos/doc/manual/man-configuration.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-build-vms.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-enter.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-generate-config.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-install.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-option.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-rebuild.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/man-nixos-version.xml4
-rw-r--r--nixpkgs/nixos/doc/manual/release-notes/rl-1909.xml67
-rw-r--r--nixpkgs/nixos/doc/manual/release-notes/rl-2003.xml15
13 files changed, 107 insertions, 36 deletions
diff --git a/nixpkgs/nixos/doc/manual/configuration/wireless.xml b/nixpkgs/nixos/doc/manual/configuration/wireless.xml
index 9c0e3a8d7aa..247d29d5831 100644
--- a/nixpkgs/nixos/doc/manual/configuration/wireless.xml
+++ b/nixpkgs/nixos/doc/manual/configuration/wireless.xml
@@ -19,10 +19,17 @@
NixOS lets you specify networks for wpa_supplicant declaratively:
<programlisting>
<xref linkend="opt-networking.wireless.networks"/> = {
- echelon = {
+ echelon = { # SSID with no spaces or special characters
psk = "abcdefgh";
};
- "free.wifi" = {};
+ "echelon's AP" = { # SSID with spaces and/or special characters
+ psk = "ijklmnop";
+ };
+ echelon = { # Hidden SSID
+ hidden = true;
+ psk = "qrstuvwx";
+ };
+ free.wifi = {}; # Public wireless network
};
</programlisting>
Be aware that keys will be written to the nix store in plaintext! When no
diff --git a/nixpkgs/nixos/doc/manual/installation/installing.xml b/nixpkgs/nixos/doc/manual/installation/installing.xml
index f1e1568c034..8ff920eb5a8 100644
--- a/nixpkgs/nixos/doc/manual/installation/installing.xml
+++ b/nixpkgs/nixos/doc/manual/installation/installing.xml
@@ -68,7 +68,7 @@
If you would like to continue the installation from a different machine you
need to activate the SSH daemon via <command>systemctl start
sshd</command>. You then must set a password for either <literal>root</literal> or
- <literal>nixos</literal> with <command>passwd></command> to be able to login.
+ <literal>nixos</literal> with <command>passwd</command> to be able to login.
</para>
</section>
</section>
diff --git a/nixpkgs/nixos/doc/manual/installation/upgrading.xml b/nixpkgs/nixos/doc/manual/installation/upgrading.xml
index 35b4d266e12..8d3f35b7c26 100644
--- a/nixpkgs/nixos/doc/manual/installation/upgrading.xml
+++ b/nixpkgs/nixos/doc/manual/installation/upgrading.xml
@@ -14,7 +14,7 @@
<para>
<emphasis>Stable channels</emphasis>, such as
<literal
- xlink:href="https://nixos.org/channels/nixos-19.03">nixos-19.03</literal>.
+ xlink:href="https://nixos.org/channels/nixos-19.09">nixos-19.09</literal>.
These only get conservative bug fixes and package upgrades. For instance,
a channel update may cause the Linux kernel on your system to be upgraded
from 4.19.34 to 4.19.38 (a minor bug fix), but not from
@@ -38,7 +38,7 @@
<para>
<emphasis>Small channels</emphasis>, such as
<literal
- xlink:href="https://nixos.org/channels/nixos-19.03-small">nixos-19.03-small</literal>
+ xlink:href="https://nixos.org/channels/nixos-19.09-small">nixos-19.09-small</literal>
or
<literal
xlink:href="https://nixos.org/channels/nixos-unstable-small">nixos-unstable-small</literal>.
@@ -63,8 +63,8 @@
<para>
When you first install NixOS, you’re automatically subscribed to the NixOS
channel that corresponds to your installation source. For instance, if you
- installed from a 19.03 ISO, you will be subscribed to the
- <literal>nixos-19.03</literal> channel. To see which NixOS channel you’re
+ installed from a 19.09 ISO, you will be subscribed to the
+ <literal>nixos-19.09</literal> channel. To see which NixOS channel you’re
subscribed to, run the following as root:
<screen>
# nix-channel --list | grep nixos
@@ -75,13 +75,13 @@ nixos https://nixos.org/channels/nixos-unstable
# nix-channel --add https://nixos.org/channels/<replaceable>channel-name</replaceable> nixos
</screen>
(Be sure to include the <literal>nixos</literal> parameter at the end.) For
- instance, to use the NixOS 19.03 stable channel:
+ instance, to use the NixOS 19.09 stable channel:
<screen>
-# nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
+# nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
</screen>
If you have a server, you may want to use the “small” channel instead:
<screen>
-# nix-channel --add https://nixos.org/channels/nixos-19.03-small nixos
+# nix-channel --add https://nixos.org/channels/nixos-19.09-small nixos
</screen>
And if you want to live on the bleeding edge:
<screen>
@@ -127,7 +127,7 @@ nixos https://nixos.org/channels/nixos-unstable
current channel. (To see when the service runs, see <command>systemctl
list-timers</command>.) You can also specify a channel explicitly, e.g.
<programlisting>
-<xref linkend="opt-system.autoUpgrade.channel"/> = https://nixos.org/channels/nixos-19.03;
+<xref linkend="opt-system.autoUpgrade.channel"/> = https://nixos.org/channels/nixos-19.09;
</programlisting>
</para>
</section>
diff --git a/nixpkgs/nixos/doc/manual/man-configuration.xml b/nixpkgs/nixos/doc/manual/man-configuration.xml
index 9f30b792510..ddb1408fdcf 100644
--- a/nixpkgs/nixos/doc/manual/man-configuration.xml
+++ b/nixpkgs/nixos/doc/manual/man-configuration.xml
@@ -8,8 +8,8 @@
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
</refmeta>
<refnamediv>
- <refname><filename>configuration.nix</filename>
- </refname><refpurpose>NixOS system configuration specification</refpurpose>
+ <refname><filename>configuration.nix</filename></refname>
+ <refpurpose>NixOS system configuration specification</refpurpose>
</refnamediv>
<refsection>
<title>Description</title>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-build-vms.xml b/nixpkgs/nixos/doc/manual/man-nixos-build-vms.xml
index 7d6e04e0dd9..d114261f53b 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-build-vms.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-build-vms.xml
@@ -8,8 +8,8 @@
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
</refmeta>
<refnamediv>
- <refname><command>nixos-build-vms</command>
- </refname><refpurpose>build a network of virtual machines from a network of NixOS configurations</refpurpose>
+ <refname><command>nixos-build-vms</command></refname>
+ <refpurpose>build a network of virtual machines from a network of NixOS configurations</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-enter.xml b/nixpkgs/nixos/doc/manual/man-nixos-enter.xml
index 1481db46712..fe560d3efdd 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-enter.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-enter.xml
@@ -8,8 +8,8 @@
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
</refmeta>
<refnamediv>
- <refname><command>nixos-enter</command>
- </refname><refpurpose>run a command in a NixOS chroot environment</refpurpose>
+ <refname><command>nixos-enter</command></refname>
+ <refpurpose>run a command in a NixOS chroot environment</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-generate-config.xml b/nixpkgs/nixos/doc/manual/man-nixos-generate-config.xml
index 61531a8f01c..9ac3b918ff6 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-generate-config.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-generate-config.xml
@@ -8,8 +8,8 @@
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
</refmeta>
<refnamediv>
- <refname><command>nixos-generate-config</command>
- </refname><refpurpose>generate NixOS configuration modules</refpurpose>
+ <refname><command>nixos-generate-config</command></refname>
+ <refpurpose>generate NixOS configuration modules</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-install.xml b/nixpkgs/nixos/doc/manual/man-nixos-install.xml
index 4fb94ee7494..45bbd5d81ff 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-install.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-install.xml
@@ -8,8 +8,8 @@
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
</refmeta>
<refnamediv>
- <refname><command>nixos-install</command>
- </refname><refpurpose>install bootloader and NixOS</refpurpose>
+ <refname><command>nixos-install</command></refname>
+ <refpurpose>install bootloader and NixOS</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-option.xml b/nixpkgs/nixos/doc/manual/man-nixos-option.xml
index 3e316e10d4e..81e3739b3be 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-option.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-option.xml
@@ -8,8 +8,8 @@
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
</refmeta>
<refnamediv>
- <refname><command>nixos-option</command>
- </refname><refpurpose>inspect a NixOS configuration</refpurpose>
+ <refname><command>nixos-option</command></refname>
+ <refpurpose>inspect a NixOS configuration</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-rebuild.xml b/nixpkgs/nixos/doc/manual/man-nixos-rebuild.xml
index a83c4fb965e..c697b7ee047 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-rebuild.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-rebuild.xml
@@ -9,8 +9,8 @@
</refmeta>
<refnamediv>
- <refname><command>nixos-rebuild</command>
- </refname><refpurpose>reconfigure a NixOS machine</refpurpose>
+ <refname><command>nixos-rebuild</command></refname>
+ <refpurpose>reconfigure a NixOS machine</refpurpose>
</refnamediv>
<refsynopsisdiv>
diff --git a/nixpkgs/nixos/doc/manual/man-nixos-version.xml b/nixpkgs/nixos/doc/manual/man-nixos-version.xml
index 931c4a5ad02..e9ad8bddcac 100644
--- a/nixpkgs/nixos/doc/manual/man-nixos-version.xml
+++ b/nixpkgs/nixos/doc/manual/man-nixos-version.xml
@@ -7,8 +7,8 @@
<refmiscinfo class="source">NixOS</refmiscinfo>
</refmeta>
<refnamediv>
- <refname><command>nixos-version</command>
- </refname><refpurpose>show the NixOS version</refpurpose>
+ <refname><command>nixos-version</command></refname>
+ <refpurpose>show the NixOS version</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
diff --git a/nixpkgs/nixos/doc/manual/release-notes/rl-1909.xml b/nixpkgs/nixos/doc/manual/release-notes/rl-1909.xml
index e4dcc90cdd3..446597e74fe 100644
--- a/nixpkgs/nixos/doc/manual/release-notes/rl-1909.xml
+++ b/nixpkgs/nixos/doc/manual/release-notes/rl-1909.xml
@@ -3,7 +3,7 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-release-19.09">
- <title>Release 19.09 (“Loris”, 2019/09/??)</title>
+ <title>Release 19.09 (“Loris”, 2019/10/09)</title>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -25,6 +25,26 @@
</listitem>
<listitem>
<para>
+ Nix has been updated to 2.3; see its
+ <link xlink:href="https://nixos.org/nix/manual/#ssec-relnotes-2.3">release
+ notes</link>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Core version changes:</para>
+ <para>systemd: 239 -&gt; 243</para>
+ <para>gcc: 7 -&gt; 8</para>
+ <para>glibc: 2.27 (unchanged)</para>
+ <para>linux: 4.19 LTS (unchanged)</para>
+ <para>openssl: 1.0 -&gt; 1.1</para>
+ </listitem>
+ <listitem>
+ <para>Desktop version changes:</para>
+ <para>plasma5: 5.14 -&gt; 5.16</para>
+ <para>gnome3: 3.30 -&gt; 3.32</para>
+ </listitem>
+ <listitem>
+ <para>
PHP now defaults to PHP 7.3, updated from 7.2.
</para>
</listitem>
@@ -512,6 +532,34 @@
is set to <literal>/var/lib/gitlab/state</literal>, <literal>gitlab</literal> and all parent directories
must be owned by either <literal>root</literal> or the user specified in <option>services.gitlab.user</option>.
</para>
+ <para>
+ The <option>networking.useDHCP</option> option is unsupported in combination with
+ <option>networking.useNetworkd</option> in anticipation of defaulting to it by default.
+ It has to be set to <literal>false</literal> and enabled per
+ interface with <option>networking.interfaces.&lt;name&gt;.useDHCP = true;</option>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The Twitter client <literal>corebird</literal> has been dropped as <link xlink:href="https://www.patreon.com/posts/corebirds-future-18921328">it is discontinued and does not work against the new Twitter API</link>.
+ Please use the fork <literal>cawbird</literal> instead which has been adapted to the API changes and is still maintained.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The <literal>nodejs-11_x</literal> package has been removed as it's EOLed by upstream.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Because of the systemd upgrade,
+ <application>systemd-timesyncd</application> will no longer work if
+ <option>system.stateVersion</option> is not set correctly. When
+ upgrading from NixOS 19.03, please make sure that
+ <option>system.stateVersion</option> is set to
+ <literal>"19.03"</literal>, or lower if the installation dates back to an
+ earlier version of NixOS.
+ </para>
</listitem>
</itemizedlist>
</section>
@@ -711,7 +759,7 @@
</para>
</listitem>
</itemizedlist>
- This also configures the kernel to pass coredumps to <literal>systemd-coredump</literal>,
+ This also configures the kernel to pass core dumps to <literal>systemd-coredump</literal>,
and restricts the SysRq key combinations to the sync command only.
These sysctl snippets can be found in <literal>/etc/sysctl.d/50-*.conf</literal>,
and overridden via <link linkend="opt-boot.kernel.sysctl">boot.kernel.sysctl</link>
@@ -720,12 +768,15 @@
</listitem>
<listitem>
<para>
- Coredumps are now acquired by <literal>systemd-coredump</literal> by default.
- <literal>systemd-coredump</literal> behaviour can still be modified via
- <option>systemd.coredump.extraConfig</option>.
- To stick to the old behaviour (having the kernel dump to a file called <literal>core</literal>
- in the working directory), without piping it through <literal>systemd-coredump</literal>, set
- <option>boot.kernel.sysctl."kernel.core_pattern"</option> to <literal>"core"</literal>.
+ Core dumps are now processed by <literal>systemd-coredump</literal>
+ by default. <literal>systemd-coredump</literal> behaviour can
+ still be modified via
+ <option>systemd.coredump.extraConfig</option>. To stick to the
+ old behaviour (having the kernel dump to a file called
+ <literal>core</literal> in the working directory), without piping
+ it through <literal>systemd-coredump</literal>, set
+ <option>systemd.coredump.enable</option> to
+ <literal>false</literal>.
</para>
</listitem>
<listitem>
diff --git a/nixpkgs/nixos/doc/manual/release-notes/rl-2003.xml b/nixpkgs/nixos/doc/manual/release-notes/rl-2003.xml
index c84bc8dbb37..bdf56acd545 100644
--- a/nixpkgs/nixos/doc/manual/release-notes/rl-2003.xml
+++ b/nixpkgs/nixos/doc/manual/release-notes/rl-2003.xml
@@ -23,6 +23,19 @@
Support is planned until the end of October 2020, handing over to 20.09.
</para>
</listitem>
+ <listitem>
+ <para>
+ Postgresql for NixOS service now defaults to v11.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The graphical installer image starts the graphical session automatically.
+ Before you'd be greeted by a tty and asked to enter <command>systemctl start display-manager</command>.
+ It is now possible to disable the display-manager from running by selecting the <literal>Disable display-manager</literal>
+ quirk in the boot menu.
+ </para>
+ </listitem>
</itemizedlist>
</section>
@@ -73,7 +86,7 @@
<itemizedlist>
<listitem>
- <para />
+ <para>SD images are now compressed by default using <literal>bzip2</literal>.</para>
</listitem>
</itemizedlist>
</section>