From 845ed10deca92c5c35a7961f6f01a97ed666a2c6 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Mon, 26 Jun 2023 17:30:03 +0100 Subject: [PATCH] Set reasonable defaults for Nix For context: https://jackson.dev/post/nix-reasonable-defaults/ --- hosts/desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/desktop.nix b/hosts/desktop.nix index 7fc0b0a..24e1071 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -47,6 +47,11 @@ with lib.my; ]; nix.settings = { + connect-timeout = 5; + log-lines = 25; + min-free = 128000000; + max-free = 1000000000; + fallback = true; auto-optimise-store = true; substituters = [ "http://odyssey.mesh.vimium.net"