harmonia-cache

Nix Binary Cache

v2.1.0

Public Key

cache.freedom.ind.br:4+Tt+AZreSw+P7xP0d6eHtIHhSAlkFbSa/9ugOkiMSM=

Configuration

Command line

nix build \
  --extra-substituters 'http://cache.freedom.ind.br' \
  --extra-trusted-public-keys 'cache.freedom.ind.br:4+Tt+AZreSw+P7xP0d6eHtIHhSAlkFbSa/9ugOkiMSM='

~/.config/nix/nix.conf or /etc/nix/nix.conf

extra-substituters = http://cache.freedom.ind.br
extra-trusted-public-keys = cache.freedom.ind.br:4+Tt+AZreSw+P7xP0d6eHtIHhSAlkFbSa/9ugOkiMSM=

NixOS configuration

{
  nix.settings = {
    substituters = [ "http://cache.freedom.ind.br" ];
    trusted-public-keys = [ "cache.freedom.ind.br:4+Tt+AZreSw+P7xP0d6eHtIHhSAlkFbSa/9ugOkiMSM=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "http://cache.freedom.ind.br" ];
    extra-trusted-public-keys = [ "cache.freedom.ind.br:4+Tt+AZreSw+P7xP0d6eHtIHhSAlkFbSa/9ugOkiMSM=" ];
  };
}

Endpoints

/nix-cache-info Cache metadata
/<hash>.narinfo Package info and signatures
/nar/<hash>.nar NAR archives
/<hash>.ls Package file listing
/log/<drv> Build logs
/version Version info
/health Health check
/metrics Prometheus metrics