Nix Binary Cache
· 244 words · 1 min read# Pushing Paths
Using Atelier in a public repository that benefits the Nix or wider open source community? Please reach out! CI runners OIDC push access may be granted to this cache, free for eligible projects. Companies wanting a similar setup or general consulting are welcome to reach out too.
# Public Key
Add these trusted public keys to your Nix/NixOS/nix-darwin configuration to verify packages from this cache:
cache.ysun.co-1:WxPYwT5g3kt9XhUhHPpNLZKI9HIOsVVAuqSHpok8Qt4=
# Option 1: Command Line (Temporary)
Use this cache for a single Nix command:
nix run \
--substituters 'https://cache.ysun.co' \
--trusted-public-keys 'cache.ysun.co-1:WxPYwT5g3kt9XhUhHPpNLZKI9HIOsVVAuqSHpok8Qt4=' \
github:stepbrobd/inc#nixvim
# Option 2: Nix Configuration (Persistent)
Add to your ~/.config/nix/nix.conf or /etc/nix/nix.conf:
extra-substituters = https://cache.ysun.co
extra-trusted-public-keys = cache.ysun.co-1:WxPYwT5g3kt9XhUhHPpNLZKI9HIOsVVAuqSHpok8Qt4=
# Option 3: NixOS/nix-darwin Configuration
Add to your /etc/nixos/configuration.nix or
/etc/nix-darwin/configuration.nix:
nix.settings = {
extra-substituters = [ "https://cache.ysun.co" ];
extra-trusted-public-keys = [ "cache.ysun.co-1:WxPYwT5g3kt9XhUhHPpNLZKI9HIOsVVAuqSHpok8Qt4=" ];
};
# Option 4: Flake
Add to your flake.nix:
{
nixConfig = {
extra-substituters = [ "https://cache.ysun.co" ];
extra-trusted-public-keys = [ "cache.ysun.co-1:WxPYwT5g3kt9XhUhHPpNLZKI9HIOsVVAuqSHpok8Qt4=" ];
};
# ... rest of your flake
}
Note: Using extra-* settings will add this cache alongside the default
cache.nixos.org cache.
# Sponsors1
Thanks to Fastly for covering the CDN!

Thanks to NetActuate for providing compute/transit!

-
The views and content on this site are the author's own and do not represent those of the sponsors. Listing a sponsor does not imply their endorsement of this site, nor the author's endorsement of the sponsor. ↩