nixpkgs/nixos/modules/installer/tools
Eelco Dolstra e88f28965a
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.
2018-02-05 19:50:36 +01:00
..
nixos-build-vms Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
auto-upgrade.nix auto-upgrade: add proxy support 2017-08-30 01:25:47 +02:00
get-version-suffix Revert adding .git-revision unconditionally 2016-08-09 14:15:06 +02:00
nix-fallback-paths.nix nix: 1.11.15 -> 1.11.16 2017-12-12 17:46:21 +01:00
nixos-enter.sh Add a "nixos-enter" command 2018-02-05 19:41:54 +01:00
nixos-generate-config.pl nixos-generate-config: enforce umask 0022, fixes #30954 2017-10-30 21:59:37 +00:00
nixos-install.sh nixos-install: Make compatible with Nix 2.0 2018-02-05 19:50:36 +01:00
nixos-option.sh nixos-option: don't eval description 2017-11-14 23:06:44 +01:00
nixos-prepare-root.sh nixos-prepare-root: chmod if dir already exists 2017-11-04 15:07:36 +00:00
nixos-rebuild.sh nixos-rebuild: Respect empty NIX_REMOTE 2017-07-07 11:58:10 +02:00
nixos-version.sh nixos-version: fix syntax error and add -h (#16906) 2016-07-13 09:11:32 +02:00
tools.nix nixos-install: Make compatible with Nix 2.0 2018-02-05 19:50:36 +01:00