From 77974fa3d656f9edfeb5ec15faa269f5e2754df3 Mon Sep 17 00:00:00 2001 From: 57_Wolve <57_wolve@private.email> Date: Wed, 14 Jan 2026 21:38:15 +0000 Subject: [PATCH] Update install.sh --- install.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7fead31..521b13b 100644 --- a/install.sh +++ b/install.sh @@ -68,8 +68,17 @@ if ! command -v xz &> /dev/null; then fi fi +# Install yq (required for config and templates) +info "Installing yq..." +if ! curl -sSL -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64; then + echo "Error: Failed to download yq." >&2 + exit 1 +else + chmod +x /usr/local/bin/yq +fi + # Download and run the Nix installer (multi-user mode with daemon) -curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install | sh -s -- --daemon +curl --proto '=https' --tlsv1.2 -sSL https://nixos.org/nix/install | sh -s -- --daemon }