Have a more featured initrd and crashDump for the pc system tarball.

svn path=/nixos/trunk/; revision=33274
This commit is contained in:
Lluís Batlle i Rossell 2012-03-19 19:01:52 +00:00
parent f546837cdf
commit 81655b7247

@ -158,10 +158,19 @@ in
services.openssh.enable = true;
jobs.openssh.startOn = pkgs.lib.mkOverrideTemplate 50 {} "";
boot.kernelPackages = pkgs.linuxPackages_2_6_39;
# To have a nicer initrd, even though the initrd can't mount an nfsroot now
boot.initrd.withExtraTools = true;
# To be able to use the systemTarball to catch troubles.
boot.crashDump = {
enable = true;
# Why not a recent kernel?
kernelPackages = pkgs.linuxPackages_3_2;
};
nixpkgs.config = {
packageOverrides = p: rec {
linux_2_6_39 = p.linux_2_6_39.override {
linux_3_2 = p.linux_3_2.override {
extraConfig = ''
# Enable drivers in kernel for most NICs.
E1000 y