From b5cddf6cb8b2be7a4424753c30f82f74783bf896 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 12 Nov 2019 20:24:55 -0800 Subject: add serval --- lib/common.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/common.nix b/lib/common.nix index ea666f6..d6af79c 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -55,26 +55,34 @@ in enable = true; forwardAgent = true; matchBlocks = { + "github.com" = { + hostname = "github.com"; + user = "git"; + identityFile = [ "${homedir}/.ssh/id_rsa" ]; + identitiesOnly = true; + }; + + + # simatime "sabten" = { hostname = "142.93.81.26"; user = "root"; identityFile = [ "${homedir}/.ssh/id_rsa" ]; identitiesOnly = true; }; - "simatime.com" = { - hostname = "simatime.com"; - user = "git"; + "serval.simatime.com" = { + hostname = "serval.simatime.com"; + user = "ben"; identityFile = [ "${homedir}/.ssh/id_rsa" ]; identitiesOnly = true; }; - "github.com" = { - hostname = "github.com"; + "simatime.com" = { + hostname = "simatime.com"; user = "git"; identityFile = [ "${homedir}/.ssh/id_rsa" ]; identitiesOnly = true; }; - "lithium" = { hostname = "192.168.1.9"; user = "ben"; -- cgit v1.2.3