nixos: add a few missing type specifiers under boot.*

This commit is contained in:
Joachim Fasting 2015-02-23 18:00:21 +01:00
parent bd81885f70
commit d375550ead
5 changed files with 6 additions and 0 deletions

View file

@ -24,6 +24,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.bool;
description = '' description = ''
Whether to create symlinks to the system generations under Whether to create symlinks to the system generations under
<literal>/boot</literal>. When enabled, <literal>/boot</literal>. When enabled,
@ -42,6 +43,7 @@ in
copyKernels = mkOption { copyKernels = mkOption {
default = false; default = false;
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.

View file

@ -179,6 +179,7 @@ in
}; };
splashImage = mkOption { splashImage = mkOption {
type = types.nullOr types.path;
example = literalExample "./my-background.png"; example = literalExample "./my-background.png";
description = '' description = ''
Background image used for GRUB. It must be a 640x480, Background image used for GRUB. It must be a 640x480,

View file

@ -23,6 +23,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.bool;
description = '' description = ''
Some systems require a /sbin/init script which is started. Some systems require a /sbin/init script which is started.
Or having it makes starting NixOS easier. Or having it makes starting NixOS easier.

View file

@ -21,6 +21,7 @@ in
boot.loader.raspberryPi.enable = mkOption { boot.loader.raspberryPi.enable = mkOption {
default = false; default = false;
type = types.bool;
description = '' description = ''
Whether to create files with the system generations in Whether to create files with the system generations in
<literal>/boot</literal>. <literal>/boot</literal>.

View file

@ -22,6 +22,7 @@ in
# FIXME: still needed? # FIXME: still needed?
boot.extraTTYs = mkOption { boot.extraTTYs = mkOption {
default = []; default = [];
type = types.listOf types.string;
example = ["tty8" "tty9"]; example = ["tty8" "tty9"];
description = '' description = ''
Tty (virtual console) devices, in addition to the consoles on Tty (virtual console) devices, in addition to the consoles on