From 6b7e90beffe91e387bf199cd9d3bdbbce384c448 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 20 May 2021 22:31:15 +0200 Subject: Add basic distributed build config --- host/software/server/build.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 host/software/server/build.nix (limited to 'host/software') diff --git a/host/software/server/build.nix b/host/software/server/build.nix new file mode 100644 index 0000000..44c4562 --- /dev/null +++ b/host/software/server/build.nix @@ -0,0 +1,16 @@ +{ + nix.buildMachines = [ { + hostName = "majestix"; + sshUser = "common"; + system = "x86_64-linux"; + maxJobs = 16; + speedFactor = 2; + } ]; + + nix = { + distributedBuilds = true; + extraOptions = '' + builders-use-substitutes = true + ''; + }; +} -- cgit v1.2.3