Disabling substituters at system level

This commit is contained in:
Andrea Ciceri 2023-04-01 14:52:49 +02:00
parent dc9f54fb76
commit 5565e6a29d
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -6,24 +6,28 @@
}: { }: {
nix = { nix = {
settings = { settings = {
optimise.automatic = true;
auto-optimise-store = true; auto-optimise-store = true;
trusted-users = [ trusted-users = [
"root" "root"
"ccr" "ccr"
"@wheel" "@wheel"
]; ];
trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" # Disabled all the substituters, this should be managed at flakes level
"mlabs.cachix.org-1:gStKdEqNKcrlSQw5iMW6wFCj3+b+1ASpBVY2SYuNV2M=" # trusted-public-keys = [
"aciceri-fleet.cachix.org-1:e1AodrwmzRWy0eQi3lUY71M41fp9Sq+UpuKKv705xsI=" # "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" # "mlabs.cachix.org-1:gStKdEqNKcrlSQw5iMW6wFCj3+b+1ASpBVY2SYuNV2M="
]; # "aciceri-fleet.cachix.org-1:e1AodrwmzRWy0eQi3lUY71M41fp9Sq+UpuKKv705xsI="
substituters = [ # "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"https://cache.iog.io" # ];
"https://mlabs.cachix.org" # substituters = [
"https://aciceri-fleet.cachix.org" # "https://cache.iog.io"
"https://nix-community.cachix.org" # "https://mlabs.cachix.org"
]; # "https://aciceri-fleet.cachix.org"
# "https://nix-community.cachix.org"
# ];
}; };
extraOptions = '' extraOptions = ''
@ -35,7 +39,5 @@
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
optimise.automatic = true;
}; };
} }