diff --git a/modules/default.nix b/modules/default.nix index aa3fd56..2661111 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -76,6 +76,11 @@ # On-the-fly optimisation of nix store autoOptimiseStore = true; + # Keep output of derivations with gc root + extraOptions = '' + keep-outputs = true + keep-derivations = true + ''; # Make nix build in background less noticeable daemonIONiceLevel = 5; # 0-7