summary refs log tree commit diff stats
path: root/system/settings/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings/configuration')
-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;