From b024eead20c2bf606b8712e50fb2ae9d2c99c907 Mon Sep 17 00:00:00 2001
From: ene <ene@sils.li>
Date: Wed, 15 Feb 2023 19:48:23 +0100
Subject: Feat(nix): Add settings

---
 services/nix/nix.nix | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'services/nix/nix.nix')

diff --git a/services/nix/nix.nix b/services/nix/nix.nix
index b94cfc95..27f9b170 100644
--- a/services/nix/nix.nix
+++ b/services/nix/nix.nix
@@ -13,6 +13,10 @@
     settings = {
       auto-optimise-store = true;
       experimental-features = ["nix-command" "flakes"];
+      fallback = true;
+
+      keep-failed = true; #keep failed tmp build dirs
+      pure-eval = true; # restrict file system and network access to  hash
     };
   };
 }
-- 
cgit 1.4.1