Add module to use hut as a binary substituter

This commit is contained in:
Aleix Boné 2025-02-26 16:03:26 +01:00
parent 5d549df767
commit 6fac30abc4
Signed by: abonerib
SSH Key Fingerprint: SHA256:Jmq7aNH8XDdGy7E9dqfqrc/LRaVqhnFgDgdxlFw/pl8

View File

@ -0,0 +1,9 @@
{ config, ... }:
# Don't add hut as a cache to itself
assert config.networking.hostName != "hut";
{
nix.settings = {
substituters = [ "https://jungle.bsc.es/cache" ];
trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ];
};
}