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"