summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/settings/configuration/nix.nix5
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;