about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-08-02 23:52:51 +0200
committerEmile <git@emile.space>2024-08-02 23:52:51 +0200
commit195c55498b792a35936f0b4aa87cf704f37698f9 (patch)
treed1012803660bad9de90981be6ef078e71ee81085
parent0e0b47b3cf1de2ea4c780ed488490a642a254f1e (diff)
caladan cache settings
-rw-r--r--nix/hosts/caladan/darwin-configuration.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/nix/hosts/caladan/darwin-configuration.nix b/nix/hosts/caladan/darwin-configuration.nix
index f04e51b..c681b35 100644
--- a/nix/hosts/caladan/darwin-configuration.nix
+++ b/nix/hosts/caladan/darwin-configuration.nix
@@ -39,16 +39,15 @@
     '';
 
     settings = {
-      # trusted-user = [
-      #   "root"
-      #   "hydra"
-      # ];
+      trusted-users = [ "root" "hydra" "emile" ];
 
       trusted-public-keys = [
+        "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
         "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
       ];
       substituters = [
         "https://cache.nixos.org"
+        "https://nix-community.cachix.org"
       ];
 
       experimental-features = [ "nix-command" "flakes" ];
@@ -56,18 +55,17 @@
 
     distributedBuilds = true;
 
-
   	buildMachines = [
       {
         hostName = "corrino.emile.space";
         system = "x86_64-linux";
-        maxJobs = 8;
+        maxJobs = 16;
         speedFactor = 2;
 
         # Feature	      | Derivations requiring it
         # ----------------|-----------------------------------------------------
-        # kvm	          | Everything which builds inside a vm, like NixOS tests
-        # nixos-test	  | Machine can run NixOS tests
+        # kvm	            | Everything which builds inside a vm, like NixOS tests
+        # nixos-test	    | Machine can run NixOS tests
         # big-parallel    | kernel config, libreoffice, evolution, llvm and chromium.
         # benchmark	      | Machine can generate metrics (Means the builds usually
         #                 | takes the same amount of time)