harmonia-cache

Nix Binary Cache

v3.1.0

Public Key

nix-cache.denbeigh.cloud-1:UeYPpNKlT8gTl7jRqOb+hawFbI5B20pPfSUbpWvSe9U=

Configuration

Command line

nix build \
  --extra-substituters 'http://localhost:5000' \
  --extra-trusted-public-keys 'nix-cache.denbeigh.cloud-1:UeYPpNKlT8gTl7jRqOb+hawFbI5B20pPfSUbpWvSe9U='

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

extra-substituters = http://localhost:5000
extra-trusted-public-keys = nix-cache.denbeigh.cloud-1:UeYPpNKlT8gTl7jRqOb+hawFbI5B20pPfSUbpWvSe9U=

NixOS configuration

{
  nix.settings = {
    substituters = [ "http://localhost:5000" ];
    trusted-public-keys = [ "nix-cache.denbeigh.cloud-1:UeYPpNKlT8gTl7jRqOb+hawFbI5B20pPfSUbpWvSe9U=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "http://localhost:5000" ];
    extra-trusted-public-keys = [ "nix-cache.denbeigh.cloud-1:UeYPpNKlT8gTl7jRqOb+hawFbI5B20pPfSUbpWvSe9U=" ];
  };
}

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