Commit Graph

62 Commits

Author SHA1 Message Date
Eelco Dolstra
1c2d81d93d * Remove "obsolete" notation.
svn path=/nixos/trunk/; revision=12557
2008-08-08 19:40:19 +00:00
Eelco Dolstra
abbe260a80 * Don't use modprobe but insmod in the initrd. This means we don't
need module-init-tools in the initrd, since insmod is in klibc.
* Give the installation CD a label.

svn path=/nixos/trunk/; revision=12545
2008-08-08 17:07:04 +00:00
Eelco Dolstra
4d6548e94c * Use the tools from klibc in the initrd instead of the static-tools.
This makes the initrd a few megabytes smaller.
* Use run-init from klibc to delete everything in the initrd ramfs
  prior to switching to the real root FS.
* Removed the stage2Init argument.

svn path=/nixos/trunk/; revision=12544
2008-08-08 15:49:57 +00:00
Eelco Dolstra
27b329abe2 * Doh! Include the pkgs subdirectory of nixpkgs on the CD.
svn path=/nixos/trunk/; revision=12198
2008-06-27 12:28:43 +00:00
Eelco Dolstra
0739332a6c * Create /etc/nixos/nixpkgs, otherwise unpacking
/install/nixpkgs.tar.bz2 fails (but that file appears
  to be broken anyway...).

svn path=/nixos/trunk/; revision=12125
2008-06-16 19:06:59 +00:00
Eelco Dolstra
ebb43a3f67 * Make the location of Nixpkgs a function argument (defaulting
to ../../nixpkgs).  This makes the "pkgs" symlink under the 
  nixos checkout unnecessary.

svn path=/nixos/trunk/; revision=11989
2008-06-05 15:33:17 +00:00
Eelco Dolstra
e7494da962 * Allow compression of ISO images.
svn path=/nixos/trunk/; revision=11987
2008-06-05 13:42:18 +00:00
Michael Raskin
ecef3b1f61 Passing packages list to extraModulePackages
svn path=/nixos/trunk/; revision=11884
2008-05-22 19:30:00 +00:00
Eelco Dolstra
bb1ee3f190 * boot.kernel renamed to boot.kernelPackages (see the help for a
description) to allow all kernel-related packages to be overriden
  easily.  For instance, you can now say in configuration.nix

    boot = {
      kernelPackages = pkgs: pkgs.kernelPackages_2_6_25;
    };

  to use Linux 2.6.25.x.  Externel kernel module packages (like
  the NVIDIA drivers) appropriate for this kernel will then be used
  automatically.

svn path=/nixos/trunk/; revision=11880
2008-05-22 11:59:46 +00:00
Eelco Dolstra
c612af3564 svn path=/nixos/trunk/; revision=11797 2008-05-09 11:28:03 +00:00
Eelco Dolstra
1042e4affe svn path=/nixos/trunk/; revision=11786 2008-05-08 16:03:18 +00:00
Eelco Dolstra
32e3f49182 * Updated the Nixpkgs URL.
svn path=/nixos/trunk/; revision=11737
2008-04-28 08:08:44 +00:00
Eelco Dolstra
e32a8437d5 svn path=/nixos/trunk/; revision=11203 2008-03-19 12:58:14 +00:00
Eelco Dolstra
666d0bde09 * Disable modules missing on x86_64.
svn path=/nixos/trunk/; revision=10563
2008-02-08 23:51:43 +00:00
Eelco Dolstra
ce250ffb37 * Installation CD: include a lot of modules (SATA, PATA, Firewire,
USB, some SCSI controllers) in the initrd for mounting the CD.
* Add nix-hardware-scan to the system.
* Upstart: don't use the -v flag.
* Include the NixOS version in the ISO image filename.
* Include testdisk and ms-sys in the CD.
* Some bugfixes in the installer.

svn path=/nixos/trunk/; revision=10556
2008-02-08 15:59:15 +00:00
Eelco Dolstra
707e515f82 * Option to enable support for the WIS GO7007.
svn path=/nixos/trunk/; revision=10491
2008-02-04 10:52:58 +00:00
Eelco Dolstra
9fd5d70968 * The CD is now a true live CD: you can run Nix operations in it
thanks to unionfs.  For instance, nix-env and nixos-rebuild work.
  The tricky part was to build a Nix database (in the tmpfs/unionfs)
  which is now necessary to prevent store paths on the CD from being
  deleted right away because they otherwise wouldn't be valid.
  
* nixos-install: use the /etc/nixos/configuration.nix from the target
  file system (don't copy it anymore).  Since the user is supposed to
  mount the target file system on /mnt anyway, we may as well require
  that configuration.nix is placed in /mnt/etc/nixos.  This also makes
  upgrading / reinstalling much easier, since it will automatically
  use the right configuration.nix.

svn path=/nixos/trunk/; revision=10399
2008-01-30 01:28:56 +00:00
Eelco Dolstra
2da50038e4 * Use aufs instead of unionfs, it seems to be more stable.
svn path=/nixos/trunk/; revision=10390
2008-01-29 18:53:15 +00:00
Eelco Dolstra
49e8829053 * Use unionfs to provide a real Live CD, i.e., the files on the CD
appear writable (though all writes go to a tmpfs).  This allows you
  to run Nix operations on the Live CD.  However, we're not quite
  there yet since the CD doesn't have a valid Nix database.  So for
  instance a garbage collect will cause everything to be deleted,
  hanging the system.

svn path=/nixos/trunk/; revision=10276
2008-01-24 16:56:09 +00:00
Eelco Dolstra
622734b58b * Generate /etc/ssh/ssh_config, set ForwardX11 and XAuthLocation.
svn path=/nixos/trunk/; revision=10177
2008-01-16 13:59:03 +00:00
Eelco Dolstra
af75f317a4 * Compatibility hack for building the ISO on Nix <= 0.11.
svn path=/nixos/trunk/; revision=10080
2008-01-05 23:27:15 +00:00
Eelco Dolstra
7ea8d224f4 svn path=/nixos/trunk/; revision=10078 2008-01-04 17:26:04 +00:00
Eelco Dolstra
56107c81b0 * Put some help text in /etc/issue on the CD.
svn path=/nixos/trunk/; revision=10076
2008-01-04 17:05:48 +00:00
Eelco Dolstra
3abf5072ce * Installation CD: start a web browser showing the NixOS manual on
tty7.
* Add w3m to the installation CD's path since it's needed for the
  manual anyway.

svn path=/nixos/trunk/; revision=10074
2008-01-04 16:11:12 +00:00
Eelco Dolstra
f499a74998 * Use cdrkit instead of cdrtools.
svn path=/nixos/trunk/; revision=10073
2008-01-04 15:17:54 +00:00
Eelco Dolstra
fddddb3f35 * Add a Grub splash screen.
svn path=/nixos/trunk/; revision=10063
2008-01-03 17:07:28 +00:00
Eelco Dolstra
4760aa9d4c * Add Memtest86+ to the CD - useful.
svn path=/nixos/trunk/; revision=10060
2008-01-03 15:24:34 +00:00
Eelco Dolstra
dc9b332fcd * Use Grub instead of isolinux on the boot CD.
svn path=/nixos/trunk/; revision=10058
2008-01-03 15:06:55 +00:00
Eelco Dolstra
93efa40b58 * Put Subversion on the installation CD so that the user can run
"nixos-checkout" to use the latest NixOS/Nixpkgs expressions (rather
  than what's on the CD).

svn path=/nixos/trunk/; revision=10057
2008-01-03 13:34:16 +00:00
Eelco Dolstra
c00448493b * Use vim instead of vimDiet on the CD because ncurses on dietlibc is
broken on x86_64 (apparently because dietlibc on x86_64 doesn't have
  sin() / cos()).

svn path=/nixos/trunk/; revision=10052
2008-01-02 16:09:55 +00:00
Eelco Dolstra
2fc94b76fe * Eliminate all calls to config.get.
svn path=/nixos/trunk/; revision=9619
2007-11-09 18:49:45 +00:00
Eelco Dolstra
5bb4e343b4 * Configuration options networking.defaultMailServer to enable direct mail
delivery without a local mail server (via ssmtp).
* Add vimDiet to the CD, not the system path in general.

svn path=/nixos/trunk/; revision=9607
2007-11-08 18:15:12 +00:00
Eelco Dolstra
8f7d294cdc svn path=/nixos/trunk/; revision=9488 2007-10-19 15:09:34 +00:00
Eelco Dolstra
ee2b3dccd8 * Use the latest Nixpkgs for the CD.
svn path=/nixos/trunk/; revision=9480
2007-10-19 11:55:24 +00:00
Eelco Dolstra
0d1aa83fea svn path=/nixos/trunk/; revision=9275 2007-09-06 21:10:15 +00:00
Eelco Dolstra
2a4417d637 * make-etc / activate-configuration: allow /etc files to be installed
as regular files instead of symlinks to the store.
* Sudo configuration, enabled through security.sudo.enable (on by
  default).  The contents of the sudoers file is specified in
  security.sudo.configFile.  The default sudoers file allows members
  of the new "wheel" group to run any command.

svn path=/nixos/trunk/; revision=9138
2007-08-16 15:09:06 +00:00
Eelco Dolstra
7243eb1d1d * Create /bin on the CD to suppress the /bin/sh symlink creation
error.
* Put the top-level system config on the CD, otherwise root doesn't
  get a working login shell on the CD (and the system PATH is broken
  as well).

svn path=/nixos/trunk/; revision=8658
2007-05-09 17:32:41 +00:00
Eelco Dolstra
14b1e6c758 * Use the latest Nixpkgs on the installation CD.
svn path=/nixos/trunk/; revision=8650
2007-05-02 21:53:23 +00:00
Eelco Dolstra
3d85bc56ff svn path=/nixos/trunk/; revision=8369 2007-03-19 23:00:48 +00:00
Eelco Dolstra
36f01930ed * Take the target platform as a parameter.
* Put the platform name in the name of the ISO image.

svn path=/nixos/trunk/; revision=8364
2007-03-19 20:28:09 +00:00
Eelco Dolstra
0828400b36 svn path=/nixos/trunk/; revision=8036 2007-02-23 21:50:32 +00:00
Eelco Dolstra
7fac47a98b svn path=/nixos/trunk/; revision=7884 2007-02-08 18:23:57 +00:00
Eelco Dolstra
5d02654a3c * Splashutils now works on x86_64.
svn path=/nixos/trunk/; revision=7873
2007-02-06 22:49:20 +00:00
Eelco Dolstra
06853a6083 svn path=/nixos/trunk/; revision=7872 2007-02-06 22:23:56 +00:00
Eelco Dolstra
98a3eaf6b7 svn path=/nixos/trunk/; revision=7865 2007-02-06 18:31:32 +00:00
Eelco Dolstra
ea9a82042c * Set ownership.
svn path=/nixos/trunk/; revision=7849
2007-02-05 21:18:02 +00:00
Eelco Dolstra
b674f74c2d * Installer fixes.
svn path=/nixos/trunk/; revision=7848
2007-02-05 21:06:59 +00:00
Eelco Dolstra
ea41e46e6d * Unpack the NixOS/Nixpkgs sources automatically when booting from the
installation CD.

svn path=/nixos/trunk/; revision=7847
2007-02-05 16:52:13 +00:00
Eelco Dolstra
82067ff5bd * Better instructions.
svn path=/nixos/trunk/; revision=7844
2007-02-05 15:20:39 +00:00
Eelco Dolstra
0685f24957 svn path=/nixos/trunk/; revision=7786 2007-01-23 20:09:06 +00:00