summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-daemon.nix
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2017-02-14 14:13:39 -0500
committerGraham Christensen <graham@grahamc.com>2017-02-14 14:13:39 -0500
commit7483ba093222371e33d5daa22269992104f401c6 (patch)
tree8d358c9fb72f3dba19596db489d1ed5ae210f4e3 /nixos/modules/services/misc/nix-daemon.nix
parent1ab91b2cea031f732596778819f7a8d8a1d6c86d (diff)
downloadnixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar
nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.gz
nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.bz2
nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.lz
nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.xz
nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.zst
nixpkgs-7483ba093222371e33d5daa22269992104f401c6.zip
Revert "nix-daemon: default useSandbox to true"
This reverts commit d0a086770a1be8c1f3175c195587052c5a5bfe1c.
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 4c7264f4ac8..7101cadfeed 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -100,14 +100,14 @@ in
 
       useSandbox = mkOption {
         type = types.either types.bool (types.enum ["relaxed"]);
-        default = true;
+        default = false;
         description = "
           If set, Nix will perform builds in a sandboxed environment that it
           will set up automatically for each build.  This prevents
           impurities in builds by disallowing access to dependencies
-          outside of the Nix store. It doesn't affect derivation
-          hashes, so changing this option will not trigger a rebuild
-          of packages.
+          outside of the Nix store. This isn't enabled by default for
+          performance. It doesn't affect derivation hashes, so changing
+          this option will not trigger a rebuild of packages.
         ";
       };