Switch to ncps.

This commit is contained in:
2025-10-23 22:27:41 +01:00
parent 53ecddb7aa
commit 7eb11d7573
2 changed files with 32 additions and 47 deletions

View File

@@ -6,15 +6,14 @@
];
# Binary cache configuration
# c3 runs ncps (Nix Cache Proxy Server) that caches cache.nixos.org
# Falls back to cache.nixos.org if c3 is unreachable
substituters = [
"http://c3:5000" # Local cluster cache on c3
"http://c3:8501" # Local ncps cache proxy on c3
"https://cache.nixos.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
# TODO: Add c3 cache public key here after first deploy of c3
# Get it with: ssh c3 cat /persist/nix-cache/cache-pub-key.txt
# "c3-cache:..."
];
# Performance tuning