nixpkgs/modules/profiles/headless.nix
Eelco Dolstra c5955e5474 * In EC2 instances, a kernel panic should cause a reboot, and a
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
2011-11-03 20:11:11 +00:00

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" ];
}