2009-07-16 11:22:40 +02:00
|
|
|
# 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.
|
2010-03-11 18:02:53 +01:00
|
|
|
services.openssh.forwardX11 = false;
|
2009-07-16 11:22:40 +02:00
|
|
|
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
|
2009-10-08 15:10:08 +02:00
|
|
|
btrfsProgs xfsprogs jfsutils jfsrec
|
2009-07-16 11:22:40 +02:00
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2010-01-14 20:50:49 +01:00
|
|
|
boot.kernelPackages = (if (nixpkgs ? linuxlPackages then
|
|
|
|
pkgs.linuxPackages_2_6_32 else pkgs.kernelPackages_2_6_32);
|
2009-12-15 15:05:01 +01:00
|
|
|
boot.initrd.kernelModules = ["evdev" "i8042" "pcips2" "serio"
|
2009-07-16 12:06:53 +02:00
|
|
|
"sd_mod" "libata" "unix" "usbhid" "uhci_hcd" "atkbd" "xtkbd" "fbdev"
|
2009-07-16 12:28:58 +02:00
|
|
|
"iso9660" "udf" "loop"];
|
2009-07-16 11:48:22 +02:00
|
|
|
boot.kernelModules = ["fbcon" "radeonfb" "intelfb" "sisfb" "nvidiafb"
|
|
|
|
"cirrusfb"];
|
|
|
|
boot.kernelParams = [
|
|
|
|
"selinux=0"
|
|
|
|
"acpi=on"
|
|
|
|
"apm=off"
|
|
|
|
"console=tty1"
|
|
|
|
"splash=verbose"
|
|
|
|
];
|
2009-07-16 11:22:40 +02:00
|
|
|
|
|
|
|
services.ttyBackgrounds.enable = false;
|
|
|
|
}
|