fix indentation in several nixos option descriptions

This commit is contained in:
michael bishop 2016-12-16 12:58:40 -04:00 committed by Jörg Thalheim
parent 1946e872c0
commit e5cefadef7
5 changed files with 29 additions and 24 deletions

View File

@ -7,8 +7,8 @@ with lib;
gnu = mkOption { gnu = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = description = ''
'' When enabled, GNU software is chosen by default whenever a there is When enabled, GNU software is chosen by default whenever a there is
a choice between GNU and non-GNU software (e.g., GNU lsh a choice between GNU and non-GNU software (e.g., GNU lsh
vs. OpenSSH). vs. OpenSSH).
''; '';

View File

@ -31,18 +31,22 @@ let
default = null; default = null;
example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I="; example = "rVXs/Ni9tu3oDBLS4hOyAUAa1qTWVA3loR8eL20os3I=";
type = with types; nullOr str; type = with types; nullOr str;
description = ''base64 preshared key generated by wg genpsk. Optional, description = ''
base64 preshared key generated by wg genpsk. Optional,
and may be omitted. This option adds an additional layer of and may be omitted. This option adds an additional layer of
symmetric-key cryptography to be mixed into the already existing symmetric-key cryptography to be mixed into the already existing
public-key cryptography, for post-quantum resistance.''; public-key cryptography, for post-quantum resistance.
'';
}; };
listenPort = mkOption { listenPort = mkOption {
default = null; default = null;
type = with types; nullOr int; type = with types; nullOr int;
example = 51820; example = 51820;
description = ''16-bit port for listening. Optional; if not specified, description = ''
automatically generated based on interface name.''; 16-bit port for listening. Optional; if not specified,
automatically generated based on interface name.
'';
}; };
preSetup = mkOption { preSetup = mkOption {
@ -51,8 +55,9 @@ let
'']; ''];
default = []; default = [];
type = with types; listOf str; type = with types; listOf str;
description = ''A list of commands called at the start of the interface description = ''
setup.''; A list of commands called at the start of the interface setup.
'';
}; };
postSetup = mkOption { postSetup = mkOption {

View File

@ -44,10 +44,10 @@ in
copyKernels = mkOption { copyKernels = mkOption {
default = false; default = false;
type = types.bool; type = types.bool;
description = " description = ''
Whether copy the necessary boot files into /boot, so Whether copy the necessary boot files into /boot, so
/nix/store is not needed by the boot loader. /nix/store is not needed by the boot loader.
"; '';
}; };
}; };