From f24ba296b528dcc2764e3d565997b8a33be3585a Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 22 Jan 2025 14:41:14 +0100 Subject: Update nix configuration with some useful settings Signed-off-by: Mel --- modules/nix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/nix.nix b/modules/nix.nix index 12df1fb..a23b0d7 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -20,9 +20,14 @@ "nix-command" ]; trusted-users = [ - "root" "mel" ]; + # usually my builders have faster connections + builders-use-substitutes = true; + # don't wait too long on caches that are down + connect-timeout = 3; + # yes nix, i know my flake is dirty!!! + warn-dirty = false; }; distributedBuilds = true; -- cgit 1.4.1