harmonia-cache

Nix Binary Cache

v3.3.0

Public Key

thoughtful.binarycache.shatteredsky.net:yPenzjz5AHspYSCnuLULxLVe/9h+d0FLqlnuBmbogz0=

Configuration

Command line

nix build \
  --extra-substituters 'https://thoughtful.binarycache.shatteredsky.net' \
  --extra-trusted-public-keys 'thoughtful.binarycache.shatteredsky.net:yPenzjz5AHspYSCnuLULxLVe/9h+d0FLqlnuBmbogz0='

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

extra-substituters = https://thoughtful.binarycache.shatteredsky.net
extra-trusted-public-keys = thoughtful.binarycache.shatteredsky.net:yPenzjz5AHspYSCnuLULxLVe/9h+d0FLqlnuBmbogz0=

NixOS configuration

{
  nix.settings = {
    substituters = [ "https://thoughtful.binarycache.shatteredsky.net" ];
    trusted-public-keys = [ "thoughtful.binarycache.shatteredsky.net:yPenzjz5AHspYSCnuLULxLVe/9h+d0FLqlnuBmbogz0=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "https://thoughtful.binarycache.shatteredsky.net" ];
    extra-trusted-public-keys = [ "thoughtful.binarycache.shatteredsky.net:yPenzjz5AHspYSCnuLULxLVe/9h+d0FLqlnuBmbogz0=" ];
  };
}

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