summaryrefslogtreecommitdiffstats
path: root/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-02-08 15:17:23 +0100
committermakefu <github@syntax-fehler.de>2019-02-08 15:17:23 +0100
commit90fabeaf3102aa68032048eb9dcea6fc2b3bd431 (patch)
tree277f21576441dff9e586ef4ae13e16e7a270fd03 /2configs
parent1ee6173399de522fa1a9809cac28e3178efc1142 (diff)
ma x: enable remote builder
Diffstat (limited to '2configs')
-rw-r--r--2configs/remote-build/gum.nix15
-rw-r--r--2configs/remote-build/slave.nix1
2 files changed, 16 insertions, 0 deletions
diff --git a/2configs/remote-build/gum.nix b/2configs/remote-build/gum.nix
new file mode 100644
index 000000000..98e2e58b5
--- /dev/null
+++ b/2configs/remote-build/gum.nix
@@ -0,0 +1,15 @@
+{
+ nix = {
+ distributedBuilds = true;
+ buildMachines = [
+ {
+ hostName = "gum.krebsco.de";
+ maxJobs = 8;
+ sshKey = toString <secrets/id_nixBuild>;
+ sshUser = "nixBuild";
+ system = "x86_64-linux";
+ supportedFeatures = [ ];
+ }
+ ];
+ };
+}
diff --git a/2configs/remote-build/slave.nix b/2configs/remote-build/slave.nix
index 89121ffd6..0227f512a 100644
--- a/2configs/remote-build/slave.nix
+++ b/2configs/remote-build/slave.nix
@@ -5,6 +5,7 @@
useDefaultShell = true;
openssh.authorizedKeys.keys = [
config.krebs.users.buildbotSlave.pubkey
+ config.krebs.users.makefu-remote-builder.pubkey
];
};
}