summaryrefslogtreecommitdiff
path: root/hosts/base.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/base.nix')
-rw-r--r--hosts/base.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/hosts/base.nix b/hosts/base.nix
index 31bed5a..054a967 100644
--- a/hosts/base.nix
+++ b/hosts/base.nix
@@ -25,20 +25,31 @@
settings = {
substituters = [
"https://cache.nixos.org"
- "https://cuda-maintainers.cachix.org"
+ "https://polwex.cachix.org"
"https://nix-community.cachix.org"
"https://nix-gaming.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
+ "polwex.cachix.org-1:6Qk8lW0wZ9omwmURpPQUEDUHAb6Nsb+f+pdH2hppBZY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
- "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
];
+
keep-outputs = true;
keep-derivations = true;
trusted-users = ["root" "y"];
+ max-jobs = 2;
+ cores = 16;
};
+ # buildMachines = [{
+ # hostName = "builder.lan";
+ # system = "x86_64-linux";
+ # protocol = "ssh";
+ # supportedFeatures = ["kvm" "big-parallel" "cuda"];
+
+ # }];
+ # distributedBuilds = true;
};
programs.nh = {
enable = true;