From 50c229b2589a5ee999f9b09356cd2d75e868c588 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Mon, 3 Mar 2025 16:44:28 -0600 Subject: [PATCH] copy --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 0d2c78b..154e135 100755 --- a/flake.nix +++ b/flake.nix @@ -315,7 +315,7 @@ # Copy to the binary cache echo "Copying $system to binary cache..." - nix copy --to "http://localhost:5000?secret-key=/etc/nix/cache-priv-key.pem" ".#nixosConfigurations.$system.config.system.build.toplevel" + nix copy --to "https://cache.mjallen.dev?secret-key=/etc/nix/cache-priv-key.pem" ".#nixosConfigurations.$system.config.system.build.toplevel" success+=("$system") else echo "❌ Failed to build $system" @@ -325,7 +325,7 @@ echo "Cross-building $system (aarch64-linux)..." if nix build ".#nixosConfigurations.$system.config.system.build.toplevel" --system aarch64-linux --out-link "./result-$system" --no-link; then echo "✅ Successfully built $system" - nix copy --to "http://localhost:5000?secret-key=/etc/nix/cache-priv-key.pem" ".#nixosConfigurations.$system.config.system.build.toplevel" + nix copy --to "https://cache.mjallen.dev?secret-key=/etc/nix/cache-priv-key.pem" ".#nixosConfigurations.$system.config.system.build.toplevel" success+=("$system") else echo "❌ Failed to build $system" @@ -339,7 +339,7 @@ echo "Found Darwin system $system, attempting to build packages..." if nix build ".#darwinConfigurations.$system.system" --out-link "./result-darwin-$system" --no-link; then echo "✅ Successfully built $system packages" - nix copy --to "http://localhost:5000?secret-key=/etc/nix/cache-priv-key.pem" ".#darwinConfigurations.$system.system" + nix copy --to "https://cache.mjallen.dev?secret-key=/etc/nix/cache-priv-key.pem" ".#darwinConfigurations.$system.system" success+=("$system (darwin)") else echo "❌ Failed to build $system packages"