Merge pull request #6601 from joachifm/gardening

nixos: some gardening
This commit is contained in:
Jaka Hudoklin 2015-02-28 12:05:58 +01:00
commit 29d0d78e7e
6 changed files with 14 additions and 3 deletions

View File

@ -24,6 +24,7 @@ in
enable = mkOption {
default = false;
type = types.bool;
description = ''
Whether to create symlinks to the system generations under
<literal>/boot</literal>. When enabled,
@ -42,6 +43,7 @@ in
copyKernels = mkOption {
default = false;
type = types.bool;
description = "
Whether copy the necessary boot files into /boot, so
/nix/store is not needed by the boot loader.

View File

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

View File

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

View File

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

View File

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

View File

@ -32,7 +32,9 @@ in
default = "";
description =
''
This is the system-wide LXC config. See lxc.system.conf(5).
This is the system-wide LXC config. See
<citerefentry><refentrytitle>lxc.system.conf</refentrytitle>
<manvolnum>5</manvolnum></citerefentry>.
'';
};
@ -43,7 +45,8 @@ in
description =
''
Default config (default.conf) for new containers, i.e. for
network config. See lxc.container.conf(5).
network config. See <citerefentry><refentrytitle>lxc.container.conf
</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
'';
};
@ -54,7 +57,9 @@ in
description =
''
This is the config file for managing unprivileged user network
administration access in LXC. See lxc-user-net(5).
administration access in LXC. See <citerefentry>
<refentrytitle>lxc-user-net</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>.
'';
};