nixpkgs/nixos/modules/installer/tools
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
..
nixos-build-vms Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
auto-upgrade.nix treewide: Use correct output of config.nix.package in non-string contexts 2016-04-25 16:44:38 +02:00
get-version-suffix Revert adding .git-revision unconditionally 2016-08-09 14:15:06 +02:00
nixos-generate-config.pl Rename boot.loader.gummiboot.enable -> boot.loader.systemd-boot.enable 2016-06-01 12:55:52 +02:00
nixos-install.sh nixos-install: cleanups & improvements to run on non-NixOS systems 2016-08-16 02:47:49 +01:00
nixos-option.sh Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 2016-03-01 20:52:06 +01:00
nixos-rebuild.sh nixos-install: more robust way of sourcing fresh version of self 2016-08-09 21:39:40 +01: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: cleanups & improvements to run on non-NixOS systems 2016-08-16 02:47:49 +01:00