2019-02-26 13:44:40 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
nix = {
|
|
|
|
maxJobs = 4;
|
|
|
|
buildCores = 1;
|
|
|
|
autoOptimiseStore = true;
|
|
|
|
useSandbox = true;
|
|
|
|
extraOptions = ''
|
|
|
|
build-timeout = 86400 # 24 hours
|
|
|
|
'';
|
2019-03-23 02:50:48 +01:00
|
|
|
binaryCachePublicKeys = [ (builtins.readFile /secret/hydra_cache.pub) ];
|
2019-02-26 13:44:40 +01:00
|
|
|
trustedBinaryCaches = [
|
2019-03-04 10:35:50 +01:00
|
|
|
"https://cache.nixos.org"
|
|
|
|
"https://cache.ophanim.de"
|
2019-02-26 13:44:40 +01:00
|
|
|
];
|
|
|
|
binaryCaches = [
|
2019-03-04 10:35:50 +01:00
|
|
|
"https://cache.nixos.org"
|
|
|
|
"https://cache.ophanim.de"
|
2019-02-26 13:44:40 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|