Nix Binary Cache

Fast and reliable binary cache for Nix packages

Public Keys

Add these trusted public keys to your Nix configuration to verify packages from this cache:

cache.clan.lol-1:3KztgSAB5R1M+Dz7vzkBGzXdodizbgLXGXKXlcQLA28=

Usage Instructions

Option 1: Command Line (Temporary)

Use this cache for a single Nix command:

nix build --substituters 'https://cache.clan.lol' \
  --trusted-public-keys 'cache.clan.lol-1:3KztgSAB5R1M+Dz7vzkBGzXdodizbgLXGXKXlcQLA28=' \
  nixpkgs#hello

Option 2: Nix Configuration (Persistent)

Add to your ~/.config/nix/nix.conf or /etc/nix/nix.conf:

extra-substituters = https://cache.clan.lol
extra-trusted-public-keys = cache.clan.lol-1:3KztgSAB5R1M+Dz7vzkBGzXdodizbgLXGXKXlcQLA28=

Option 3: NixOS Configuration

Add to your /etc/nixos/configuration.nix:

nix.settings = {
  extra-substituters = [ "https://cache.clan.lol" ];
  extra-trusted-public-keys = [
    "cache.clan.lol-1:3KztgSAB5R1M+Dz7vzkBGzXdodizbgLXGXKXlcQLA28="
  ];
};

Option 4: Flake

Add to your flake.nix:

{
  nixConfig = {
    extra-substituters = [ "https://cache.clan.lol" ];
    extra-trusted-public-keys = [
      "cache.clan.lol-1:3KztgSAB5R1M+Dz7vzkBGzXdodizbgLXGXKXlcQLA28="
    ];
  };

  # ... rest of your flake
}

Note: Using extra-* settings will add this cache alongside the default cache.nixos.org cache.

Cache Information

This binary cache is powered by niks3, a garbage-collected Nix binary cache backed by S3-compatible storage.

Features