diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-02-05 19:50:36 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-02-05 19:50:36 +0100 |
commit | e88f28965a7d76e83478d3ae6fcddc165b1c94f1 (patch) | |
tree | c43185c6a1438e3e6c703f15d5ce410e3dde3072 /nixos/modules/system | |
parent | 60cb23001a1e8e4102ce905810c5641a7eb3a237 (diff) | |
download | nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.tar nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.tar.gz nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.tar.bz2 nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.tar.lz nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.tar.xz nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.tar.zst nixlib-e88f28965a7d76e83478d3ae6fcddc165b1c94f1.zip |
nixos-install: Make compatible with Nix 2.0
The use of Nix 2.0 significantly simplifies the installer, since we can just pass a different store URI (--store /mnt) - it's no longer needed to set up a chroot environment for the build, and to bootstrap Nix into the chroot. Also, commands that need to run in the installation (namely boot loader installation and setting a root password) are now executed using nixos-enter. This also removes the need for nixos-prepare-root since any required initialisation is done by Nix or by the activation script.
Diffstat (limited to 'nixos/modules/system')
0 files changed, 0 insertions, 0 deletions