harmonia-cache

Nix Binary Cache

v3.1.0

Public Key

cache.nix.yog.wtf:cuAlAmqFWsB9ng8Zq1HEX2LqPSw8PUeTRq7s6j5wYgU=

Configuration

Command line

nix build \
  --extra-substituters 'http://cache.nix.yog.wtf' \
  --extra-trusted-public-keys 'cache.nix.yog.wtf:cuAlAmqFWsB9ng8Zq1HEX2LqPSw8PUeTRq7s6j5wYgU='

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

extra-substituters = http://cache.nix.yog.wtf
extra-trusted-public-keys = cache.nix.yog.wtf:cuAlAmqFWsB9ng8Zq1HEX2LqPSw8PUeTRq7s6j5wYgU=

NixOS configuration

{
  nix.settings = {
    substituters = [ "http://cache.nix.yog.wtf" ];
    trusted-public-keys = [ "cache.nix.yog.wtf:cuAlAmqFWsB9ng8Zq1HEX2LqPSw8PUeTRq7s6j5wYgU=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "http://cache.nix.yog.wtf" ];
    extra-trusted-public-keys = [ "cache.nix.yog.wtf:cuAlAmqFWsB9ng8Zq1HEX2LqPSw8PUeTRq7s6j5wYgU=" ];
  };
}

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