summaryrefslogtreecommitdiff
path: root/host/software/server/build.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/software/server/build.nix')
-rw-r--r--host/software/server/build.nix16
1 files changed, 16 insertions, 0 deletions
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
+ '';
+ };
+}