about summary refs log tree commit diff
path: root/users/multi
diff options
context:
space:
mode:
authormulti <depot@in-addr.xyz>2021-01-15T12·19+0000
committermulti <depot@in-addr.xyz>2021-01-15T13·06+0000
commit4bb250b53096eac80950e7378f197b8496406022 (patch)
treedaddbae1876838a7d92f4c47ed498347b0d06f06 /users/multi
parent740a9a3565b3c30d8b667ff159b15d9f455e94b9 (diff)
chore(users/multi): Refactor SSH keys and add remote builds key. r/2110
This commit rearranges my SSH keys, and adds a public key for accessing whitby
as a remote builder from my laptop.

Change-Id: Ide1a9e296d307d141c1a732d01923e46772180a9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2398
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
Diffstat (limited to 'users/multi')
-rw-r--r--users/multi/keys.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/users/multi/keys.nix b/users/multi/keys.nix
index c745b824f3be..ad3305af3df1 100644
--- a/users/multi/keys.nix
+++ b/users/multi/keys.nix
@@ -2,12 +2,17 @@
 
 let
   keys = {
-    whitby = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOtKHxl87H1RSHU7xs37PcDej+EREdPRQKuaAUfgKvLR multi@in-addr.xyz";
+    thinkpad = {
+      interactiveLogin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOtKHxl87H1RSHU7xs37PcDej+EREdPRQKuaAUfgKvLR multi@in-addr.xyz";
+      nixRemote = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG8ucz+x0K0ynQYy59u1VJbhy6SQv6wiunIKCDNwvZDr thinkpad nix";
+    };
     yubikey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCl9/WmXJcZ1dWAHQDgjJksG2vEkeSyG+b70dLk5bb5CdytsLsv8oJYPH+g2CXkaCAPc0oGfS92KRcYk7gwNinckbNWCq5Y4rG51L92yfujoXNDuddSDtPZT1PTvPTv0YmkD9/rE4SUFuPJ/bYPBqsW40BdK3f5EbISAiKmRuulZrEl053H0aRNmNbCbK4LNDgFYO78XkCmNEDAftGu5N1zY0RbU3YBw/oDzj/zWEXmliEGrpM9CrTkPbV0+OsTWpw5QXdkMUGg/YnNgtEJpDdnE5cIo1CGoUgm/jgVzvloEwCSv/2nOczGdDSE1z7YCSxNO2vSeioFiCJlQhFOKFV88GhlnOmL0YhGCBGakRFh8Ld61urdwGGbws/9z6nRZ5eiCqPw791kz0L0rhwdD9bkYjdJopkMx2rc50nRlPZVJM6Wl5oegGsZa20v9Kw5PJQsJNyPyVMGNKaRcTylu4lNaOeyP3pd7PjbDjmtRGSptDhPuaUjJrSTRizlWZ2PIODkd9b9n5PzquI/itCPNUdA4Ofe96Xm1oLae8psTWMnxt8hraQeIJZuiLJkdonI22BEA2voMciSLyFLGc1suo9HzMkmy3eJMZktKTjD9Nib9gOTqoNQevgcmu2oa1ZJdHA5vGi/obmT820/4+67HiJbcpIGgHp5wPtWfxmwM1RiZw== cardno:000608114525";
   };
 
   configs = {
-    whitby = [ keys.whitby keys.yubikey ];
+    whitby = [ keys.thinkpad.interactiveLogin keys.yubikey ]; # back compat
+    whitbyLogin = [ keys.thinkpad.interactiveLogin keys.thinkpad.nixRemote keys.yubikey ];
+    whitbyNix = [ keys.thinkpad.nixRemote ];
   };
 
 in