mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
nixos-install: Create /etc
This commit is contained in:
parent
6daad9b3c5
commit
598a3f5b30
@ -114,6 +114,7 @@ if [[ -z $noChannelCopy ]]; then
|
||||
fi
|
||||
|
||||
# Mark the target as a NixOS installation, otherwise switch-to-configuration will chicken out.
|
||||
mkdir -m 0755 "$mountPoint/etc"
|
||||
touch "$mountPoint/etc/NIXOS"
|
||||
|
||||
# Switch to the new system configuration. This will install Grub with
|
||||
|
Loading…
Reference in New Issue
Block a user