harmonia-cache

Nix Binary Cache

v3.0.0

Public Key

nixos-cache-desktop.dark-alexandr.net:tehVIjJwkpTdAzyoJW0+G/pVQA0yh5hE1COS/Ml06K4=

Configuration

Command line

nix build \
  --extra-substituters 'http://git.dark-alexandr.net' \
  --extra-trusted-public-keys 'nixos-cache-desktop.dark-alexandr.net:tehVIjJwkpTdAzyoJW0+G/pVQA0yh5hE1COS/Ml06K4='

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

extra-substituters = http://git.dark-alexandr.net
extra-trusted-public-keys = nixos-cache-desktop.dark-alexandr.net:tehVIjJwkpTdAzyoJW0+G/pVQA0yh5hE1COS/Ml06K4=

NixOS configuration

{
  nix.settings = {
    substituters = [ "http://git.dark-alexandr.net" ];
    trusted-public-keys = [ "nixos-cache-desktop.dark-alexandr.net:tehVIjJwkpTdAzyoJW0+G/pVQA0yh5hE1COS/Ml06K4=" ];
  };
}

flake.nix

{
  nixConfig = {
    extra-substituters = [ "http://git.dark-alexandr.net" ];
    extra-trusted-public-keys = [ "nixos-cache-desktop.dark-alexandr.net:tehVIjJwkpTdAzyoJW0+G/pVQA0yh5hE1COS/Ml06K4=" ];
  };
}

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