diff --git a/scripts/install.sh b/scripts/install.sh index 6976bd7..897667c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -66,13 +66,13 @@ disko \ --root-mountpoint $ROOT_MNT # copy extra files into mountpoint -cp -r "$temp" "$ROOT_MNT/" +cp -ar "$temp/." "$ROOT_MNT/" # run nixos-install nixos-install \ --no-channel-copy \ --no-root-password \ - --root "$ROOTMNT" \ + --root "$ROOT_MNT" \ --flake .#$NAME echo -e "Finished install.\n" \