Trying to build a good rescue CD..
svn path=/nixos/branches/modular-nixos/; revision=16385
This commit is contained in:
parent
889311f4ca
commit
a7f24fd4bb
@ -71,7 +71,7 @@ in
|
|||||||
[ options
|
[ options
|
||||||
./iso-image.nix
|
./iso-image.nix
|
||||||
./memtest.nix
|
./memtest.nix
|
||||||
../../../hardware/network/intel-3945abg.nix
|
../../hardware/network/intel-3945abg.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# ISO naming.
|
# ISO naming.
|
||||||
|
39
modules/installer/cd-dvd/installation-cd-rescue.nix
Normal file
39
modules/installer/cd-dvd/installation-cd-rescue.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# This module defines a small NixOS installation CD. It does not
|
||||||
|
# contain any graphical stuff.
|
||||||
|
|
||||||
|
{config, pkgs, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
require = [./installation-cd-base.nix];
|
||||||
|
|
||||||
|
installer.configModule = "./nixos/modules/installer/cd-dvd/installation-cd-minimal.nix";
|
||||||
|
|
||||||
|
# Don't include X libraries.
|
||||||
|
services.sshd.forwardX11 = false;
|
||||||
|
services.dbus.enable = false; # depends on libX11
|
||||||
|
services.hal.enable = false; # depends on dbus
|
||||||
|
fonts.enableFontConfig = false;
|
||||||
|
fonts.enableCoreFonts = false;
|
||||||
|
|
||||||
|
# Useful for rescue..
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
utillinuxCurses ddrescue
|
||||||
|
pciutils sdparm hdparm hddtemp usbutils
|
||||||
|
btrfsProgs xfsProgs jfsUtils jfsrec
|
||||||
|
wpa_supplicant iproute
|
||||||
|
fuse ntfs3g smbfsFuse sshfsFuse
|
||||||
|
manpages irssi elinks mcabber mutt openssh lftp
|
||||||
|
openssl ncat socat
|
||||||
|
gnupg gnupg2
|
||||||
|
patch which diffutils gcc binutils bc file
|
||||||
|
screen
|
||||||
|
bvi joe nvi
|
||||||
|
subversion16 monotone git darcs mercurial bazaar cvs
|
||||||
|
unrar unzip zip lzma cabextract cpio
|
||||||
|
lsof
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.kernelPackages_2_6_31_rc2_old_i686;
|
||||||
|
|
||||||
|
services.ttyBackgrounds.enable = false;
|
||||||
|
}
|
@ -83,6 +83,11 @@ let
|
|||||||
description = "minimal";
|
description = "minimal";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
iso_rescue = makeIso {
|
||||||
|
module = ./modules/installer/cd-dvd/installation-cd-rescue.nix;
|
||||||
|
description = "minimal";
|
||||||
|
};
|
||||||
|
|
||||||
iso_graphical = makeIso {
|
iso_graphical = makeIso {
|
||||||
module = ./modules/installer/cd-dvd/installation-cd-graphical.nix;
|
module = ./modules/installer/cd-dvd/installation-cd-graphical.nix;
|
||||||
description = "graphical";
|
description = "graphical";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user