fix: substituters can't be a negative value

This commit is contained in:
Gerg-L 2025-03-30 19:20:18 -04:00
parent df81b3dc48
commit 037d12214d
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@
keep-derivations = false; keep-derivations = false;
builders-use-substitutes = true; builders-use-substitutes = true;
max-jobs = 0; max-jobs = 0;
substituters = [ "https://cache.gerg-l.com?priority=-1&compression=zstd" ]; substituters = lib.mkForce [ "https://cache.gerg-l.com?priority=1&compression=zstd" ];
trusted-public-keys = [ "cache.gerg-l.com:6p1+h6jQnb1MOt3ra3PlQpfgEEF4zRrQWiEuAqcjBj8=" ]; trusted-public-keys = [ "cache.gerg-l.com:6p1+h6jQnb1MOt3ra3PlQpfgEEF4zRrQWiEuAqcjBj8=" ];
}; };
distributedBuilds = true; distributedBuilds = true;

View file

@ -31,8 +31,9 @@
# Other nix settings # Other nix settings
# #
settings = { settings = {
substituters = [ substituters = lib.mkForce [
"https://nix-community.cachix.org?priority=10" "https://cache.nixos.org?priority=2"
"https://nix-community.cachix.org?priority=3"
]; ];
trusted-public-keys = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="