forked from mirrors/nixpkgs
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 a new issue