hydra: optimise periodically to speed up jobs

This commit is contained in:
Sandro - 2023-04-30 15:37:58 +02:00
parent 3d0fc374bd
commit 0401d57e33
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,10 @@ in
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
daemonIOSchedPriority = 7;
optimise = {
automatic = true;
dates = [ "05:30" ];
};
remoteBuilder = {
enable = true;
sshPublicKeys = config.users.users.root.openssh.authorizedKeys.keys ++ [
@ -47,7 +51,6 @@ in
};
settings = {
allowed-uris = "http:// https:// ssh://";
auto-optimise-store = true;
builders-use-substitutes = true;
cores = 20;
keep-outputs = true;