about summary refs log tree commit diff stats
path: root/services
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-15 19:48:23 +0100
committerene <ene@sils.li>2023-02-15 19:48:23 +0100
commitb024eead20c2bf606b8712e50fb2ae9d2c99c907 (patch)
treeed12ea7df3bf0c68237c97edae4a3504345c9ac6 /services
parentFix(yambar): Remove typos (diff)
downloadnixos-config-b024eead20c2bf606b8712e50fb2ae9d2c99c907.tar.gz
nixos-config-b024eead20c2bf606b8712e50fb2ae9d2c99c907.zip
Feat(nix): Add settings
Diffstat (limited to '')
-rw-r--r--services/nix/nix.nix4
1 files changed, 4 insertions, 0 deletions
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
     };
   };
 }