Add module to use hut as a binary substituter

This commit is contained in:
Aleix Boné 2025-02-26 16:03:26 +01:00 committed by Rodrigo Arias Mallo
parent 785f7cfee8
commit b90209b4bf

View File

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