summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-17 00:48:35 +0200
committermakefu <github@syntax-fehler.de>2018-09-17 00:48:35 +0200
commitf6b3e7e6ebc15d9acd7bb5ca72034b143f2995ab (patch)
tree9c1980cc69fccf8de2e08445cdf6f70810ba45ff /makefu
parent767109e6ae8560e17bc1ef6de67ad38559f19d27 (diff)
ma slave: un-hardcode keys
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/remote-build/slave.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/makefu/2configs/remote-build/slave.nix b/makefu/2configs/remote-build/slave.nix
index b6e000a34..89121ffd6 100644
--- a/makefu/2configs/remote-build/slave.nix
+++ b/makefu/2configs/remote-build/slave.nix
@@ -1,11 +1,10 @@
-{
+{config,...}:{
nix.trustedUsers = [ "nixBuild" ];
users.users.nixBuild = {
name = "nixBuild";
useDefaultShell = true;
- # TODO: put this somewhere else
openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPlhb0TIBW9RN9T8Is4YRIc1RjOg+cxbZCaDjbM4zxrX nixBuild"
+ config.krebs.users.buildbotSlave.pubkey
];
};
}