nixpkgs/nixos/modules/installer
obadz 806e88c137 nixos-install: cleanups & improvements to run on non-NixOS systems
- Fix --no-bootloader which didn't do what it advertised
- Hardcode nixbld GID so that systems which do not have a nixbld user
  can still run nixos-install (only with --closure since they can't
  build anything)
- Cleanup: get rid of NIX_CONF_DIR(=/tmp)/nix.conf and pass arguments instead
- Cleanup: don't assume that the target system has '<nixpkgs/nixos>' or
  '<nixos-config>' to see if config.users.mutableUsers. Instead check if
  /var/setuid-wrappers/passwd is there

Installing NixOS now works from a Ubuntu host (using --closure).

nix-build -A tests.installer.simple '<nixpkgs/nixos/release.nix>' succeeds ✓
2016-08-16 02:47:49 +01:00
..
cd-dvd sd-image-armv7l-multiplatform.nix: Preliminary Raspberry Pi 2/3 support 2016-07-04 02:07:13 +03:00
netboot installer: simple PXE bootable NixOS installer 2016-04-29 10:42:39 +01:00
scan
tools nixos-install: cleanups & improvements to run on non-NixOS systems 2016-08-16 02:47:49 +01:00
virtualbox-demo.nix