Set reasonable defaults for Nix

For context: https://jackson.dev/post/nix-reasonable-defaults/
This commit is contained in:
Jordan Holt 2023-06-26 17:30:03 +01:00
parent 3ca179eaa0
commit 845ed10dec
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -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"