harmonia-cache

Nix Binary Cache

v3.1.0

Public Key

laptop-cache-1:w8uBiDjehZUTWkxOw0BYGIM9ABBPwUvyzfc6nTJWf+U=

Configuration

Command line

nix build \
  --extra-substituters 'https://cache-nixos.zimpfer.fr' \
  --extra-trusted-public-keys 'laptop-cache-1:w8uBiDjehZUTWkxOw0BYGIM9ABBPwUvyzfc6nTJWf+U='

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

extra-substituters = https://cache-nixos.zimpfer.fr
extra-trusted-public-keys = laptop-cache-1:w8uBiDjehZUTWkxOw0BYGIM9ABBPwUvyzfc6nTJWf+U=

NixOS configuration

{
  nix.settings = {
    substituters = [ "https://cache-nixos.zimpfer.fr" ];
    trusted-public-keys = [ "laptop-cache-1:w8uBiDjehZUTWkxOw0BYGIM9ABBPwUvyzfc6nTJWf+U=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "https://cache-nixos.zimpfer.fr" ];
    extra-trusted-public-keys = [ "laptop-cache-1:w8uBiDjehZUTWkxOw0BYGIM9ABBPwUvyzfc6nTJWf+U=" ];
  };
}

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