From c8941870e22b97ec17feb8276abf4571ace69f7d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 26 Apr 2026 18:51:15 -0700 Subject: [PATCH] nix: add shared binary caches --- nixos/flake.nix | 18 ++++++++++++++++++ nixos/nix.nix | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/nixos/flake.nix b/nixos/flake.nix index 798ae0d9..ff09d0b1 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -420,14 +420,32 @@ ]; extra-substituters = [ "http://192.168.1.26:5050" + "https://ai.cachix.org" + "https://cache.nixos-cuda.org" + "https://nix-community.cachix.org" + "https://cuda-maintainers.cachix.org" + "https://numtide.cachix.org" "https://cache.flox.dev" "https://org-agenda-api.cachix.org" "https://colonelpanic8-dotfiles.cachix.org" "https://codex-cli.cachix.org" "https://claude-code.cachix.org" ]; + extra-trusted-substituters = [ + "https://ai.cachix.org" + "https://cache.nixos.org/" + "https://nix-community.cachix.org" + "https://cache.nixos-cuda.org" + "https://cuda-maintainers.cachix.org" + "https://numtide.cachix.org" + ]; extra-trusted-public-keys = [ "1896Folsom.duckdns.org:U2FTjvP95qwAJo0oGpvmUChJCgi5zQoG1YisoI08Qoo=" + "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" + "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" + "numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE=" "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=" "org-agenda-api.cachix.org-1:liKFemKkOLV/rJt2txDNcpDjRsqLuBneBjkSw/UVXKA=" "colonelpanic8-dotfiles.cachix.org-1:O6GF3nptpeMFapX29okzO92eSWXR36zqW6ZF2C8P0eQ=" diff --git a/nixos/nix.nix b/nixos/nix.nix index ac6ec932..4170fd3e 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -66,6 +66,20 @@ "https://cache.nixos.org" "https://cuda-maintainers.cachix.org" "https://ai.cachix.org" + "https://cache.nixos-cuda.org" + "https://nix-community.cachix.org" + "https://numtide.cachix.org" + "https://colonelpanic8-dotfiles.cachix.org" + "https://codex-cli.cachix.org" + "https://claude-code.cachix.org" + ]; + trusted-substituters = [ + "https://cache.nixos.org" + "https://cuda-maintainers.cachix.org" + "https://ai.cachix.org" + "https://cache.nixos-cuda.org" + "https://nix-community.cachix.org" + "https://numtide.cachix.org" "https://colonelpanic8-dotfiles.cachix.org" "https://codex-cli.cachix.org" "https://claude-code.cachix.org" @@ -73,6 +87,9 @@ trusted-public-keys = [ "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" + "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE=" "colonelpanic8-dotfiles.cachix.org-1:O6GF3nptpeMFapX29okzO92eSWXR36zqW6ZF2C8P0eQ=" "codex-cli.cachix.org-1:1Br3H1hHoRYG22n//cGKJOk3cQXgYobUel6O8DgSing=" "claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk="