forked from mirrors/nixpkgs
c5955e5474
problem in stage 1 should cause a panic. (Actually, the latter should probably kill the instance since we can't repair it anyway...) svn path=/nixos/trunk/; revision=30215
14 lines
358 B
Nix
14 lines
358 B
Nix
# Common configuration for headless machines (e.g., Amazon EC2
|
|
# instances).
|
|
|
|
{
|
|
sound.enable = false;
|
|
boot.vesa = false;
|
|
boot.initrd.enableSplashScreen = false;
|
|
services.ttyBackgrounds.enable = false;
|
|
services.mingetty.ttys = [ ];
|
|
|
|
# Since we can't manually respond to a panic, just reboot.
|
|
boot.kernelParams = [ "panic=1" "stage1panic=1" ];
|
|
}
|