summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-19 00:23:41 -0700
committerFuwn <[email protected]>2024-09-19 00:34:56 -0700
commit40679e14292987507040b6cbe615dd180f2bcffb (patch)
tree8cad48bf487738f3f3d509c3a7359cd456e099da
parenthosts: himeji (diff)
downloadnixos-config-40679e14292987507040b6cbe615dd180f2bcffb.tar.xz
nixos-config-40679e14292987507040b6cbe615dd180f2bcffb.zip
nix: add nixbuild.net scaffolding
-rw-r--r--modules/nix/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix
index 15c26dc..e57e583 100644
--- a/modules/nix/default.nix
+++ b/modules/nix/default.nix
@@ -22,6 +22,27 @@
package = pkgs.nixVersions.git;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
channel.enable = false;
+ # distributedBuilds = true;
+
+ buildMachines =
+ map
+ (system: {
+ inherit system;
+
+ hostName = "eu.nixbuild.net";
+ maxJobs = 100;
+
+ supportedFeatures = [
+ "benchmark"
+ "big-parallel"
+ ];
+ })
+ [
+ "x86_64-linux"
+ "i686-linux"
+ "aarch64-linux"
+ "armv7l-linux"
+ ];
settings = {
auto-optimise-store = true;