1a6e1a43dc
svn path=/nixos/trunk/; revision=11816
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{platform ? __currentSystem} :
|
|
let
|
|
isoFun = import ./rescue-cd-configurable.nix;
|
|
in
|
|
(isoFun {
|
|
inherit platform;
|
|
lib = (import ../pkgs/lib);
|
|
|
|
networkNixpkgs = "";
|
|
manualEnabled = true;
|
|
rogueEnabled = false;
|
|
sshdEnabled = true;
|
|
fontConfigEnabled = false;
|
|
sudoEnable = true;
|
|
includeMemtest = false;
|
|
includeStdenv = true;
|
|
includeBuildDeps = true;
|
|
|
|
/*
|
|
If anyone uses that DVD on live
|
|
computer, use DHCP; but also add
|
|
a rogue address for tests in virtual
|
|
networks without DHCP at all.
|
|
*/
|
|
addIP = "10.0.253.251";
|
|
netmask = "255.255.0.0";
|
|
|
|
kernel = pkgs: (
|
|
pkgs.aggregateModules
|
|
[pkgs.kernel]
|
|
);
|
|
|
|
packages = pkgs : [
|
|
pkgs.patch
|
|
pkgs.irssi
|
|
pkgs.subversion
|
|
pkgs.w3m
|
|
pkgs.utillinuxCurses
|
|
pkgs.wpa_supplicant
|
|
pkgs.emacs
|
|
pkgs.vimHugeX
|
|
];
|
|
|
|
/*
|
|
The goal is remotely controlled
|
|
installation (maybe over virtual
|
|
networking with QEmu without human
|
|
interaction), so let's make ssh
|
|
work without manual password entry
|
|
*/
|
|
additionalFiles = [
|
|
{
|
|
source = /var/certs/ssh/id_livedvd.pub;
|
|
target = "/root/.ssh/authorized_keys";
|
|
}
|
|
];
|
|
}).rescueCD
|