From d9796f44f65cb558fe11108d40ddfd4c54151e55 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 22 May 2016 11:29:33 +0200 Subject: [PATCH] manual: minor cleanups --- nixos/doc/manual/configuration/linux-kernel.xml | 2 +- nixos/doc/manual/development/option-declarations.xml | 6 +++--- 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. The default Linux kernel configuration should be fine for most users. You can see the configuration of your current kernel with the following command: -cat /proc/config.gz | gunzip +zcat /proc/config.gz If you want to change the kernel configuration, you can use the feature (see Option Declarations 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: @@ -42,7 +42,7 @@ options = { 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. + value is never used, an error will be thrown.