From 0401d57e338792fab4cc100e1eb9cff8cf7304e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 30 Apr 2023 15:37:58 +0200 Subject: [PATCH] hydra: optimise periodically to speed up jobs --- hosts/hydra/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/hydra/default.nix b/hosts/hydra/default.nix index 49df9fb3..7416eb59 100644 --- a/hosts/hydra/default.nix +++ b/hosts/hydra/default.nix @@ -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;