forked from mirrors/nixpkgs
4b5864666e
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
13 lines
417 B
Plaintext
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"
|