Use extra- for substituters and trusted-public-keys

From the nix manual:

    A configuration setting usually overrides any previous value.
    However, for  settings  that  take  a  list  of items, you can
    prefix the name of the setting by extra- to append to the previous
    value.
This commit is contained in:
2025-06-03 17:59:17 +02:00
parent b802a59868
commit ca4e6ffe00
3 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
# Don't add hut as a cache to itself
assert config.networking.hostName != "hut";
{
substituters = [ "http://hut/cache" ];
trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ];
extra-substituters = [ "http://hut/cache" ];
extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ];
};
}