about summary refs log tree commit diff
path: root/ops/nixos/camden/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-11T16·46+0000
committerVincent Ambo <tazjin@google.com>2020-02-11T16·46+0000
commit2e958227122717ae5a013fd4656664d28d20f00d (patch)
tree2cf577c9b8895e11b20894dcaf86ca127ae41add /ops/nixos/camden/default.nix
parentdf1a4fef2bcf20a3b54f2fc1b4c8220d663d04cd (diff)
fix(ops/nixos/camden): Use package set from depot pin r/538
Diffstat (limited to 'ops/nixos/camden/default.nix')
-rw-r--r--ops/nixos/camden/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index ccb580a15899..7b9b026e8c21 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -59,9 +59,16 @@ in pkgs.lib.fix(self: {
     };
   };
 
+  nix = {
+    maxJobs = lib.mkDefault 4;
+
+    nixPath = [
+      "depot=/home/tazjin/depot"
+      "nixpkgs=${pkgs.third_party.nixpkgsSrc}"
+    ];
+  };
+  nixpkgs.pkgs = nixpkgs;
 
-  # TODO(tazjin): audit these (from generated hardware-config)
-  nix.maxJobs = lib.mkDefault 4;
   powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 
   networking = {