summaryrefslogtreecommitdiffstats
path: root/2configs/remote-build/slave.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-29 21:30:28 +0200
committermakefu <github@syntax-fehler.de>2017-09-29 21:30:28 +0200
commit2641c237a35bf066168a08686d4a27ac44c3ac87 (patch)
treeec36a439da3fcc9c5e44e50df1e60cf724b679d9 /2configs/remote-build/slave.nix
parentaf6a4dbdfdc13b83da566c87fef5deffaf711c04 (diff)
ma remote-build: init config
Diffstat (limited to '2configs/remote-build/slave.nix')
-rw-r--r--2configs/remote-build/slave.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/2configs/remote-build/slave.nix b/2configs/remote-build/slave.nix
new file mode 100644
index 000000000..b6e000a34
--- /dev/null
+++ b/2configs/remote-build/slave.nix
@@ -0,0 +1,11 @@
+{
+ nix.trustedUsers = [ "nixBuild" ];
+ users.users.nixBuild = {
+ name = "nixBuild";
+ useDefaultShell = true;
+ # TODO: put this somewhere else
+ openssh.authorizedKeys.keys = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPlhb0TIBW9RN9T8Is4YRIc1RjOg+cxbZCaDjbM4zxrX nixBuild"
+ ];
+ };
+}