From 40679e14292987507040b6cbe615dd180f2bcffb Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 19 Sep 2024 00:23:41 -0700 Subject: nix: add nixbuild.net scaffolding --- modules/nix/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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; -- cgit v1.2.3