Compare commits

..

1 Commits

Author SHA1 Message Date
70a6d2e644
Add documentation section with commands to query the cache 2025-04-11 11:10:58 +02:00
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -39,7 +39,6 @@ enable it for all builds in the system.
{ ... }: { { ... }: {
nix.settings = { nix.settings = {
substituters = [ "https://jungle.bsc.es/cache" ]; substituters = [ "https://jungle.bsc.es/cache" ];
trusted-substituters = [ "https://jungle.bsc.es/cache" ];
trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ];
}; };
} }
@ -61,7 +60,7 @@ Note: you'll have to be a trusted user.
If using nix outside of NixOS, you'll have to update `nix.conf` If using nix outside of NixOS, you'll have to update `nix.conf`
``` ```
# echo "trusted-substituters = https://jungle.bsc.es/cache" >> /etc/nix/nix.conf # echo "substituters = https://jungle.bsc.es/cache" >> /etc/nix/nix.conf
# echo "trusted-public-keys = jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" >> /etc/nix/nix.conf # echo "trusted-public-keys = jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" >> /etc/nix/nix.conf
``` ```