Skip to content

Commit

Permalink
update install.sh: git is now part of the nixos iso, don't need nix-s…
Browse files Browse the repository at this point in the history
…hell anymore; set --option tarball-ttl 0
  • Loading branch information
Mag1cByt3s committed Dec 21, 2024
1 parent 547588b commit 23e5945
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ chown -R root:shadow /mnt/persist/etc/shadow.d/
chmod -R 640 /mnt/persist/etc/shadow.d/

log "INFO" "Installing Red-Flake with host profile ${HOST} for user ${USER} on disk ${DISK}..."
nix-shell -p git nixFlakes --command \
"nixos-install --no-root-password --flake \"${FLAKE}/${GIT_REV:-main}#$HOST\""
nixos-install --no-root-password --flake "${FLAKE}/${GIT_REV:-main}#$HOST" --option tarball-ttl 0

log "INFO" "Syncing disk writes..."
sync
Expand Down

0 comments on commit 23e5945

Please sign in to comment.