diff options
author | makefu <github@syntax-fehler.de> | 2017-09-29 21:30:28 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-09-29 21:30:28 +0200 |
commit | 1e635e4d49ba73e83ce09e25f1f11343f1eb8fc9 (patch) | |
tree | d56cb6ee9fcb76b09331af081dfa6081ec3a60a5 /makefu/2configs/remote-build/slave.nix | |
parent | d52d28d5d9e96d167490b45e7c96c668d86451c7 (diff) |
ma remote-build: init config
Diffstat (limited to 'makefu/2configs/remote-build/slave.nix')
-rw-r--r-- | makefu/2configs/remote-build/slave.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/2configs/remote-build/slave.nix b/makefu/2configs/remote-build/slave.nix new file mode 100644 index 000000000..b6e000a34 --- /dev/null +++ b/makefu/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" + ]; + }; +} |