I have flake environment for a python development project. Integrating direnv
, the website recommends to set
{ pkgs, ... }: {
nix.extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
}
to protect the shell against garbage collection.
Using these options, what is kept and how long? Do I have to manually trigger a garbage collection, or will nix store every nix build
I make forever?