summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/remote-build
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
commit6788519e4be7390c76bffacadd05d49f8fc3cace (patch)
treebe12dba57664c9e8db3c27c613f18fc74e44e700 /makefu/2configs/remote-build
parent7f0354f2bae42e9eb6a341c079aeadfa1fc88e5b (diff)
ma x: enable remote builder
Diffstat (limited to 'makefu/2configs/remote-build')
-rw-r--r--makefu/2configs/remote-build/gum.nix15
-rw-r--r--makefu/2configs/remote-build/slave.nix1
2 files changed, 16 insertions, 0 deletions
diff --git a/makefu/2configs/remote-build/gum.nix b/makefu/2configs/remote-build/gum.nix
new file mode 100644
index 000000000..98e2e58b5
--- /dev/null
+++ b/makefu/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/makefu/2configs/remote-build/slave.nix b/makefu/2configs/remote-build/slave.nix
index 89121ffd6..0227f512a 100644
--- a/makefu/2configs/remote-build/slave.nix
+++ b/makefu/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
];
};
}