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
No known key found for this signature in database

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=" ];
};
}