harmonia-cache

Nix Binary Cache

v3.1.0

Public Key

cache.srvd.space:O7Nofm+0rVGatdMe+zS8rzGYecGJ+6emMZmjZnUR8H0=

Configuration

Command line

nix build \
  --extra-substituters 'https://cache.srvd.space' \
  --extra-trusted-public-keys 'cache.srvd.space:O7Nofm+0rVGatdMe+zS8rzGYecGJ+6emMZmjZnUR8H0='

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

extra-substituters = https://cache.srvd.space
extra-trusted-public-keys = cache.srvd.space:O7Nofm+0rVGatdMe+zS8rzGYecGJ+6emMZmjZnUR8H0=

NixOS configuration

{
  nix.settings = {
    substituters = [ "https://cache.srvd.space" ];
    trusted-public-keys = [ "cache.srvd.space:O7Nofm+0rVGatdMe+zS8rzGYecGJ+6emMZmjZnUR8H0=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "https://cache.srvd.space" ];
    extra-trusted-public-keys = [ "cache.srvd.space:O7Nofm+0rVGatdMe+zS8rzGYecGJ+6emMZmjZnUR8H0=" ];
  };
}

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