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

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