mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
nixos: add a few missing type specifiers under boot.*
This commit is contained in:
parent
bd81885f70
commit
d375550ead
|
@ -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.
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue