From cc31bbdd3eb30f65c44de41d2b6d6f91e13e819f Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 3 May 2022 14:38:31 +0200 Subject: [PATCH] nix.conf: set useful options --- .config/nix/nix.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nix/nix.conf b/.config/nix/nix.conf index 83e7709..06a18d4 100644 --- a/.config/nix/nix.conf +++ b/.config/nix/nix.conf @@ -1,2 +1,6 @@ # enable nix-search, which is experimental as of 2022-04-02 experimental-features = nix-command flakes +max-jobs = auto # Allow building multiple derivations in parallel +keep-outputs = true # Do not garbage-collect build time-only dependencies (e.g. clang) +keep-derivations = true +sandbox = true