about summary refs log tree commit diff stats
path: root/nix-conf/home/includes/darwin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf/home/includes/darwin.nix')
-rw-r--r--nix-conf/home/includes/darwin.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nix-conf/home/includes/darwin.nix b/nix-conf/home/includes/darwin.nix
index aafe803..9f04927 100644
--- a/nix-conf/home/includes/darwin.nix
+++ b/nix-conf/home/includes/darwin.nix
@@ -31,6 +31,12 @@
     wget
   ];
 
+  nix.settings = {
+    sandbox = true;
+    keep-outputs = true;
+    keep-derivations = true;
+  };
+
   programs.java = {
     enable = true;
     #package = (pkgs.jdk8.overrideAttrs (_: { postPatch = "ln -nsf ../zulu-8.jdk/Contents/Home/man man"; }));