diff options
Diffstat (limited to 'configs/binary-cache')
| -rw-r--r-- | configs/binary-cache/client.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configs/binary-cache/client.nix b/configs/binary-cache/client.nix new file mode 100644 index 0000000..66b17c6 --- /dev/null +++ b/configs/binary-cache/client.nix @@ -0,0 +1,15 @@ +{ config, ... }: { + nix.settings = { + fallback = true; + connect-timeout = 5; + download-attempts = 1; + substituters = [ + "http://cache.ne.r?priority=20" + "http://cache.zu.r?priority=20" + ]; + trusted-public-keys = [ + config.krebs.hosts.ne.binary-cache.pubkey + config.krebs.hosts.zu.binary-cache.pubkey + ]; + }; +} |
