diff options
author | obadz <obadz-git@obadz.com> | 2016-08-16 01:15:27 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-08-16 02:47:49 +0100 |
commit | 806e88c13771e5ec336f3ca14969c5f314482a67 (patch) | |
tree | 0ba55c7a870110b7b5e7aea65ad0611fa9e68222 /nixos/modules/system/boot/loader/grub | |
parent | 21df40f85fd3c59cb90a6a44f05c3d4d29daeffa (diff) | |
download | nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.tar nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.tar.gz nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.tar.bz2 nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.tar.lz nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.tar.xz nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.tar.zst nixlib-806e88c13771e5ec336f3ca14969c5f314482a67.zip |
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 ✓
Diffstat (limited to 'nixos/modules/system/boot/loader/grub')
0 files changed, 0 insertions, 0 deletions