Skip to content

chore: migrate binary cache from garnix to cachix - #88

Merged
chadac merged 7 commits into
nix-configfrom
migrate-garnix-to-cachix
Jul 22, 2026
Merged

chore: migrate binary cache from garnix to cachix#88
chadac merged 7 commits into
nix-configfrom
migrate-garnix-to-cachix

Conversation

@chadac

@chadac chadac commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

garnix is down, so this migrates the binary cache from garnix to the chadac-dotfiles Cachix cache.

  • flake.nix — replace the garnix substituter/public-key in nixConfig with https://chadac-dotfiles.cachix.org (FlakeHub & Determinate entries kept).
  • apps/default.nix — same swap in the NixOS system nix.settings.substituters.
  • .github/workflows/cachix.yml (new) — build the odin/thor NixOS toplevel and home activation packages in a matrix and push results to Cachix via cachix/cachix-action. This replaces garnix's automatic server-side builds.

The public signing key (chadac-dotfiles.cachix.org-1:X6SN8xFOL7yHXvmFHDfYLAQy0U4E6qgq+2wlOLwTc1c=) was pulled from the live Cachix API.

Follow-ups

  • The CACHIX_AUTH_TOKEN repo secret is in place (confirmed by author).
  • The garnix GitHub app can be uninstalled from this repo once this merges.

🤖 Generated with Claude Code

chadac and others added 7 commits June 29, 2026 17:39
garnix is down, so move the flake's substituter config and the NixOS
system substituter config to the chadac-dotfiles Cachix cache. Add a
GitHub Actions workflow that builds the odin/thor NixOS and home
configurations and pushes them to Cachix (replacing garnix's automatic
server-side builds).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drop garnix.yaml so garnix no longer runs builds/checks on this repo.
Builds are now handled by the Cachix GitHub Actions workflow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Full NixOS/home closures exhausted the GitHub runner's disk
("No space left on device"). Reclaim ~25GB of preinstalled tooling
before building.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump nixpkgs (2026-05-23 -> 2026-07-20) and all other flake inputs
(home-manager, emacs-overlay, nix-darwin, mise, flake-parts,
determinate nixpkgs-weekly).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Regenerate lockfile after merging origin/nix-config so all inputs
(nixpkgs, home-manager, emacs-overlay, nix-darwin, mise) are current.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The nixpkgs bump broke two flake checks:
- waylandDisplayTests: pkgs.nixt is no longer the test-framework
  function. The test file already uses lib.runTests, so invoke it
  directly and fail the build on any test failure.
- fullSystemTest: nixpkgs.hostPlatform/overlays are now read-only per
  test node. Supply node.pkgs with the emacs-overlay + allowUnfree and
  drop hardware-configuration.nix (the driver provides VM hardware),
  avoiding the read-only collisions.

Also remove renovate.json (unused).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chadac
chadac merged commit 3362bc8 into nix-config Jul 22, 2026
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant