Add binary cache timeout and fallback
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 14m19s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 14m19s
This commit is contained in:
parent
a9a6409034
commit
edb5767770
@ -12,6 +12,8 @@ in
|
|||||||
NIX_USER_CONF_FILES = toString (pkgs.writeText "nix.conf"
|
NIX_USER_CONF_FILES = toString (pkgs.writeText "nix.conf"
|
||||||
''
|
''
|
||||||
experimental-features = nix-command flakes ca-derivations repl-flake
|
experimental-features = nix-command flakes ca-derivations repl-flake
|
||||||
|
connect-timeout = 5
|
||||||
|
fallback = true
|
||||||
${lib.my.c.nix.cache.conf}
|
${lib.my.c.nix.cache.conf}
|
||||||
'');
|
'');
|
||||||
|
|
||||||
|
@ -238,6 +238,8 @@ in
|
|||||||
settings = with lib.my.c.nix; {
|
settings = with lib.my.c.nix; {
|
||||||
extra-substituters = cache.substituters;
|
extra-substituters = cache.substituters;
|
||||||
extra-trusted-public-keys = cache.keys;
|
extra-trusted-public-keys = cache.keys;
|
||||||
|
connect-timeout = 5;
|
||||||
|
fallback = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -46,6 +46,8 @@ in
|
|||||||
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
|
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
|
||||||
extra-substituters = cache.substituters;
|
extra-substituters = cache.substituters;
|
||||||
extra-trusted-public-keys = cache.keys;
|
extra-trusted-public-keys = cache.keys;
|
||||||
|
connect-timeout = 5;
|
||||||
|
fallback = true;
|
||||||
};
|
};
|
||||||
registry = {
|
registry = {
|
||||||
pkgs = {
|
pkgs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user