From 868aac8c30897423c2e65ab4c94e017a8e4b892a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 23 May 2019 15:11:54 -0700 Subject: setup distributed builds over ssh --- common.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index c828a99..23c5244 100644 --- a/common.nix +++ b/common.nix @@ -45,6 +45,25 @@ in path = "${homedir}/cfg/home-manager"; }; + ssh = { + enable = true; + forwardAgent = true; + matchBlocks = { + hidor-kahih = { + hostname = "home.simatime.com"; + user = "ben"; + identityFile = [ "${homedir}/.ssh/hidor-kahih" ]; + identitiesOnly = true; + }; + nutin-madaj = { + hostname = "simatime.com"; + user = "ben"; + identityFile = [ "${homedir}/.ssh/id_rsa" ]; + identitiesOnly = true; + }; + }; + }; + direnv = { enable = true; }; -- cgit v1.2.3