From 23e59458735c7f8621d370d67c2ccdaf17773b3b Mon Sep 17 00:00:00 2001 From: Mag1cByt3s Date: Sat, 21 Dec 2024 21:41:15 +0100 Subject: [PATCH] update install.sh: git is now part of the nixos iso, don't need nix-shell anymore; set --option tarball-ttl 0 --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 860eb31..5494123 100755 --- a/install.sh +++ b/install.sh @@ -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