summaryrefslogtreecommitdiffstats
path: root/nixos/doc
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-05-22 11:29:33 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-05-22 20:01:52 +0200
commitd9796f44f65cb558fe11108d40ddfd4c54151e55 (patch)
treed66b44390ffa1906b84308f7331a26386b6a7180 /nixos/doc
parentd6575c96fb85b8db24f17995b5dfd8c78f5ce97e (diff)
manual: minor cleanups
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/configuration/linux-kernel.xml2
-rw-r--r--nixos/doc/manual/development/option-declarations.xml6
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/configuration/linux-kernel.xml b/nixos/doc/manual/configuration/linux-kernel.xml
index d614a44c66c0..b008baaa66c9 100644
--- a/nixos/doc/manual/configuration/linux-kernel.xml
+++ b/nixos/doc/manual/configuration/linux-kernel.xml
@@ -19,7 +19,7 @@ kernel.</para>
<para>The default Linux kernel configuration should be fine for most users. You can see the configuration of your current kernel with the following command:
<programlisting>
-cat /proc/config.gz | gunzip
+zcat /proc/config.gz
</programlisting>
If you want to change the kernel configuration, you can use the
<option>packageOverrides</option> feature (see <xref
diff --git a/nixos/doc/manual/development/option-declarations.xml b/nixos/doc/manual/development/option-declarations.xml
index ea5d1241876e..b0689aa1d97f 100644
--- a/nixos/doc/manual/development/option-declarations.xml
+++ b/nixos/doc/manual/development/option-declarations.xml
@@ -7,8 +7,8 @@
<title>Option Declarations</title>
<para>An option declaration specifies the name, type and description
-of a NixOS configuration option. It is illegal to define an option
-that hasn’t been declared in any module. A option declaration
+of a NixOS configuration option. It is invalid to define an option
+that hasn’t been declared in any module. An option declaration
generally looks like this:
<programlisting>
@@ -42,7 +42,7 @@ options = {
<listitem>
<para>The default value used if no value is defined by any
module. A default is not required; in that case, if the option
- value is ever used, an error will be thrown.</para>
+ value is never used, an error will be thrown.</para>
</listitem>
</varlistentry>