diff options
author | Alan Pearce | 2022-06-13 15:31:46 +0200 |
---|---|---|
committer | Alan Pearce | 2022-06-13 15:31:46 +0200 |
commit | a42f481fa3e97a70c8fb5bbd33324003364a4a82 (patch) | |
tree | 041c2961e67a83329b0a790af72185e0d6093b03 /system | |
parent | e013bfb77a097ebc5e441f629c563e7b75f8f123 (diff) | |
download | nixfiles-a42f481fa3e97a70c8fb5bbd33324003364a4a82.tar.lz nixfiles-a42f481fa3e97a70c8fb5bbd33324003364a4a82.tar.zst nixfiles-a42f481fa3e97a70c8fb5bbd33324003364a4a82.zip |
nix: mark build dependencies to not be gc'ed
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/configuration/nix.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix index 350cfb06..9927ce3d 100644 --- a/system/settings/configuration/nix.nix +++ b/system/settings/configuration/nix.nix @@ -8,6 +8,11 @@ trustedUsers = [ "@wheel" ]; + extraOptions = '' + keep-outputs = true + keep-derivations = true + ''; + autoOptimiseStore = true; gc = { automatic = true; |