harmonia-cache

Nix Binary Cache

v3.3.0

Public Key

nix-cache.szikszai.dev:CA5jdkW55LMaiQfQ8vNqi3lCm30zoYM4znWXfsh1Y+I=

Configuration

Command line

nix build \
  --extra-substituters 'https://nix-cache.szikszai.dev' \
  --extra-trusted-public-keys 'nix-cache.szikszai.dev:CA5jdkW55LMaiQfQ8vNqi3lCm30zoYM4znWXfsh1Y+I='

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

extra-substituters = https://nix-cache.szikszai.dev
extra-trusted-public-keys = nix-cache.szikszai.dev:CA5jdkW55LMaiQfQ8vNqi3lCm30zoYM4znWXfsh1Y+I=

NixOS configuration

{
  nix.settings = {
    substituters = [ "https://nix-cache.szikszai.dev" ];
    trusted-public-keys = [ "nix-cache.szikszai.dev:CA5jdkW55LMaiQfQ8vNqi3lCm30zoYM4znWXfsh1Y+I=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "https://nix-cache.szikszai.dev" ];
    extra-trusted-public-keys = [ "nix-cache.szikszai.dev:CA5jdkW55LMaiQfQ8vNqi3lCm30zoYM4znWXfsh1Y+I=" ];
  };
}

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