about summary refs log tree commit diff
path: root/ops/machines/whitby
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-08-25T12·54+0200
committersterni <sternenseemann@systemli.org>2022-08-25T16·34+0000
commitaaa994137a89ab9d37fb83091dc7d24937898491 (patch)
tree96582a1b2911de6f2ba631e79491e20793977a5a /ops/machines/whitby
parent0c4c307926232549f7cfca8f584fb66c31f60bf2 (diff)
fix: reflect renames of Nix configuration options r/4490
Change-Id: I7e28ac3d71acd7d99a1d3ef97bef9422097e4abf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6154
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops/machines/whitby')
-rw-r--r--ops/machines/whitby/default.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix
index 940cfc910a24..eeba2f354328 100644
--- a/ops/machines/whitby/default.nix
+++ b/ops/machines/whitby/default.nix
@@ -184,17 +184,17 @@ in
 
   nix = {
     nrBuildUsers = 256;
-    maxJobs = lib.mkDefault 64;
-    extraOptions = ''
-      secret-key-files = /run/agenix/nix-cache-priv
-    '';
-
-    trustedUsers = [
-      "grfn"
-      "lukegb"
-      "tazjin"
-      "sterni"
-    ];
+    settings = {
+      max-jobs = lib.mkDefault 64;
+      secret-key-files = "/run/agenix/nix-cache-priv";
+
+      trusted-users = [
+        "grfn"
+        "lukegb"
+        "tazjin"
+        "sterni"
+      ];
+    };
 
     sshServe = {
       enable = true;