nix: mark build dependencies to not be gc'ed
Alan Pearce alan@alanpearce.eu
Mon, 13 Jun 2022 15:31:46 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
M system/settings/configuration/nix.nix → system/settings/configuration/nix.nix
@@ -8,6 +8,11 @@ daemonIOSchedClass = "idle"; trustedUsers = [ "@wheel" ]; + extraOptions = '' + keep-outputs = true + keep-derivations = true + ''; + autoOptimiseStore = true; gc = { automatic = true;