harmonia-cache

Nix Binary Cache

v3.3.0

Public Key

nixcache.jamalam.tech:kK0ZbqNEnH1UMq3LJk8EDsLbI1H2K8ooQAqiiU7/5s0=

Configuration

Command line

nix build \
  --extra-substituters 'https://nixcache.jamalam.tech' \
  --extra-trusted-public-keys 'nixcache.jamalam.tech:kK0ZbqNEnH1UMq3LJk8EDsLbI1H2K8ooQAqiiU7/5s0='

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

extra-substituters = https://nixcache.jamalam.tech
extra-trusted-public-keys = nixcache.jamalam.tech:kK0ZbqNEnH1UMq3LJk8EDsLbI1H2K8ooQAqiiU7/5s0=

NixOS configuration

{
  nix.settings = {
    substituters = [ "https://nixcache.jamalam.tech" ];
    trusted-public-keys = [ "nixcache.jamalam.tech:kK0ZbqNEnH1UMq3LJk8EDsLbI1H2K8ooQAqiiU7/5s0=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "https://nixcache.jamalam.tech" ];
    extra-trusted-public-keys = [ "nixcache.jamalam.tech:kK0ZbqNEnH1UMq3LJk8EDsLbI1H2K8ooQAqiiU7/5s0=" ];
  };
}

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