* Allow the user to do something useful on tty8 while waiting for the
installation to finish. svn path=/nixos/trunk/; revision=7578
This commit is contained in:
parent
2148123b9c
commit
c4df455e81
@ -2,20 +2,50 @@ rec {
|
|||||||
|
|
||||||
|
|
||||||
configuration = {
|
configuration = {
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
autoDetectRootDevice = true;
|
autoDetectRootDevice = true;
|
||||||
readOnlyRoot = true;
|
readOnlyRoot = true;
|
||||||
# The label used to identify the installation CD.
|
# The label used to identify the installation CD.
|
||||||
rootLabel = "NIXOS";
|
rootLabel = "NIXOS";
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
sshd = {
|
sshd = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Allow the user to do something useful on tty8 while waiting
|
||||||
|
# for the installation to finish.
|
||||||
|
extraJobs = [
|
||||||
|
{ name = "rogue";
|
||||||
|
job = "
|
||||||
|
start on udev
|
||||||
|
stop on shutdown
|
||||||
|
respawn ${pkgs.rogue}/bin/rogue < /dev/tty8 > /dev/tty8 2>&1
|
||||||
|
";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
# And a background to go with that.
|
||||||
|
ttyBackgrounds = {
|
||||||
|
specificThemes = [
|
||||||
|
{ tty = 8;
|
||||||
|
theme = pkgs.fetchurl {
|
||||||
|
url = http://www.bootsplash.de/files/themes/Theme-GNU.tar.bz2;
|
||||||
|
md5 = "61969309d23c631e57b0a311102ef034";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user