about summary refs log tree commit diff
path: root/modules/user/devhell
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2022-02-01 13:19:33 +0000
committerdevhell <devhell@mailfresser.de>2022-02-01 13:21:44 +0000
commitcb1b6c45baef0f68dfb7468cf3a6ef74c0a1be66 (patch)
tree639b8fc172d1eaf4d41e2809c4bfb186492f22cd /modules/user/devhell
parent813e40b6fc73d62ae215cd459468cae1200f2d0f (diff)
{machines,modules}/devhell: nix.* -> nix.settings
Second attempt at getting this right. Step 1: Read the thrown
assertions. Step 2: Don't be tired. Step 3: Test changes.
Diffstat (limited to 'modules/user/devhell')
-rw-r--r--modules/user/devhell/profiles/base.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix
index 659f2e7e..91de2458 100644
--- a/modules/user/devhell/profiles/base.nix
+++ b/modules/user/devhell/profiles/base.nix
@@ -15,8 +15,10 @@ in {
     };
 
     nix = {
-      buildCores = 0;
-      useSandbox = true;
+      settings = {
+        sandbox = true;
+        cores = 0;
+      };
       extraOptions = ''
         auto-optimise-store = true
         experimental-features = nix-command flakes