diff --git a/m/module/hut-substituter.nix b/m/module/hut-substituter.nix index 9b871f6..8d27a45 100644 --- a/m/module/hut-substituter.nix +++ b/m/module/hut-substituter.nix @@ -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=" ]; }; } diff --git a/m/raccoon/configuration.nix b/m/raccoon/configuration.nix index 2482a16..28d4da8 100644 --- a/m/raccoon/configuration.nix +++ b/m/raccoon/configuration.nix @@ -29,8 +29,8 @@ }; nix.settings = { - substituters = [ "https://jungle.bsc.es/cache" ]; - trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; + extra-substituters = [ "https://jungle.bsc.es/cache" ]; + extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; }; # Enable performance governor diff --git a/web/content/hut/_index.md b/web/content/hut/_index.md index 9f32dc8..9ef8427 100644 --- a/web/content/hut/_index.md +++ b/web/content/hut/_index.md @@ -38,8 +38,8 @@ enable it for all builds in the system. ```nix { ... }: { nix.settings = { - substituters = [ "https://jungle.bsc.es/cache" ]; - trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; + extra-substituters = [ "https://jungle.bsc.es/cache" ]; + extra-trusted-public-keys = [ "jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" ]; }; } ``` @@ -60,8 +60,8 @@ Note: you'll have to be a trusted user. If using nix outside of NixOS, you'll have to update `/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 "extra-substituters = https://jungle.bsc.es/cache" >> /etc/nix/nix.conf +# echo "extra-trusted-public-keys = jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=" >> /etc/nix/nix.conf ``` ### Hint in flakes