nixpkgs/modules/installer/tools/nixos-bootstrap-archive/README-BOOTSTRAP-NIXOS
Marc Weber 4b5864666e * refactoring kvm test and bootstrapping image.
expose makeInfo (used by test now)
  expose config hack
* Adding tests to release.nix
* fixes
* removing dependency on perl

refactoring details:
Move all configuration modules used by the NixOS installation test script
into one directory.

svn path=/nixos/trunk/; revision=18982
2009-12-15 23:26:52 +00:00

13 lines
417 B
Plaintext

HOWTO install NixOS from a bootstrap archive
=============================================
export mountPoint=$target # defaults to /mnt
tar xfj $ARCHIV -C $mountPoint
bash $mountPoint/nix/store/nixos-prepare-install # see --help
$EDITOR $mountPoint/etc/nixos/configuration.nix
# you can replace --install by --help to get more info
bash $mountPoint/nix/store/run-in-chroot "/nix/store/nixos-bootstrap --install"