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.luj.fr-1:C4ZpEGda4niPPcPtSMTzfiz1OLl8a+HzSdq1hUhAh6w=

Usage Instructions

Option 1: Command Line (Temporary)

Use this cache for a single Nix command:

nix build --substituters 'https://cache.luj.fr' \
  --trusted-public-keys 'cache.luj.fr-1:C4ZpEGda4niPPcPtSMTzfiz1OLl8a+HzSdq1hUhAh6w=' \
  nixpkgs#hello

Option 2: Nix Configuration (Persistent)

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

extra-substituters = https://cache.luj.fr
extra-trusted-public-keys = cache.luj.fr-1:C4ZpEGda4niPPcPtSMTzfiz1OLl8a+HzSdq1hUhAh6w=

Option 3: NixOS Configuration

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

nix.settings = {
  extra-substituters = [ "https://cache.luj.fr" ];
  extra-trusted-public-keys = [
    "cache.luj.fr-1:C4ZpEGda4niPPcPtSMTzfiz1OLl8a+HzSdq1hUhAh6w="
  ];
};

Option 4: Flake

Add to your flake.nix:

{
  nixConfig = {
    extra-substituters = [ "https://cache.luj.fr" ];
    extra-trusted-public-keys = [
      "cache.luj.fr-1:C4ZpEGda4niPPcPtSMTzfiz1OLl8a+HzSdq1hUhAh6w="
    ];
  };

  # ... 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