Author: viric
Date: Mon Mar 19 19:01:52 2012
New Revision: 33274
URL: https://nixos.org/websvn/nix/?rev=33274&sc=1
Log:
Have a more featured initrd and crashDump for the pc system tarball.
Modified:
nixos/trunk/modules/installer/cd-dvd/system-tarball-pc.nix
Modified: nixos/trunk/modules/installer/cd-dvd/system-tarball-pc.nix
==============================================================================
--- nixos/trunk/modules/installer/cd-dvd/system-tarball-pc.nix Mon Mar 19
18:31:02 2012 (r33273)
+++ nixos/trunk/modules/installer/cd-dvd/system-tarball-pc.nix Mon Mar 19
19:01:52 2012 (r33274)
@@ -158,10 +158,19 @@
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
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits