fix indentation in several nixos option descriptions
This commit is contained in:
parent
1946e872c0
commit
e5cefadef7
|
@ -7,11 +7,11 @@ 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).
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ in
|
||||||
default = with pkgs.kbdKeymaps; [ dvp neo ];
|
default = with pkgs.kbdKeymaps; [ dvp neo ];
|
||||||
defaultText = ''with pkgs.kbdKeymaps; [ dvp neo ]'';
|
defaultText = ''with pkgs.kbdKeymaps; [ dvp neo ]'';
|
||||||
description = ''
|
description = ''
|
||||||
List of additional packages that provide console fonts, keymaps and
|
List of additional packages that provide console fonts, keymaps and
|
||||||
other resources.
|
other resources.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,14 +9,14 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.programs.mosh = {
|
options.programs.mosh = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable mosh. Note, this will open ports in your firewall!
|
Whether to enable mosh. Note, this will open ports in your firewall!
|
||||||
'';
|
'';
|
||||||
default = false;
|
default = false;
|
||||||
example = true;
|
example = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
|
@ -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 = ''
|
||||||
and may be omitted. This option adds an additional layer of
|
base64 preshared key generated by wg genpsk. Optional,
|
||||||
symmetric-key cryptography to be mixed into the already existing
|
and may be omitted. This option adds an additional layer of
|
||||||
public-key cryptography, for post-quantum resistance.'';
|
symmetric-key cryptography to be mixed into the already existing
|
||||||
|
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 {
|
||||||
|
|
|
@ -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.
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue