https://cache.snyssen.be
public-key:
cache.snyssen.be:YbGmg46EztCHAFVaMztDfW/tuSuqVjLlYeG67R3VhGY=
Flake: Paste into your flake.nix
Configure your flakes to suggest the cache to users. Anyone running nix build /
nix develop against your flake
gets the cache offered automatically (subject to the user
accepting nixConfig).
{
nixConfig = {
extra-substituters = [ "https://cache.snyssen.be" ];
extra-trusted-public-keys = [ "cache.snyssen.be:YbGmg46EztCHAFVaMztDfW/tuSuqVjLlYeG67R3VhGY=" ];
};
# ... rest of your flake ...
}
NixOS: Drop into any module
Configure your NixOS system to use the cache for all nix invocations and all users.
{
nix.settings = {
extra-substituters = [ "https://cache.snyssen.be" ];
extra-trusted-public-keys = [ "cache.snyssen.be:YbGmg46EztCHAFVaMztDfW/tuSuqVjLlYeG67R3VhGY=" ];
};
}
Non-NixOS: ~/.config/nix/nix.conf or /etc/nix/nix.conf
For any host with nix installed: macOS, generic Linux, WSL. Append these lines.
extra-substituters = https://cache.snyssen.be extra-trusted-public-keys = cache.snyssen.be:YbGmg46EztCHAFVaMztDfW/tuSuqVjLlYeG67R3VhGY=