feat(wpcarro/ssh): Support iPhone SSH key

For termius access

Change-Id: Ic91b80bfc8deb816b5a7634ca5e74bb026729067
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6542
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2022-09-12 10:02:51 -07:00 committed by clbot
parent f9007c6a47
commit c0a2a13c84
3 changed files with 18 additions and 12 deletions

View file

@ -4,6 +4,7 @@
rec { rec {
ava = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/5Fuo7wi8rNXVXgNaCK2X6ePCh9LQs/9h7Tj6UeXrl wpcarro@ava"; ava = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/5Fuo7wi8rNXVXgNaCK2X6ePCh9LQs/9h7Tj6UeXrl wpcarro@ava";
diogenes = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILFDRfpNXDxQuTJAqVg8+Mm/hOfE5VAJP+Lpw9kA5cDG wpcarro@gmail.com"; diogenes = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILFDRfpNXDxQuTJAqVg8+Mm/hOfE5VAJP+Lpw9kA5cDG wpcarro@gmail.com";
iphone = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEU1tsRQ/cMxi9Hd7Xo+YpiWB5i6qx24EJLCEFBK4q4W wpcarro@iphone";
marcus = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkNQJBXekuSzZJ8+gxT+V1+eXTm3hYsfigllr/ARXkf wpcarro@gmail.com"; marcus = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkNQJBXekuSzZJ8+gxT+V1+eXTm3hYsfigllr/ARXkf wpcarro@gmail.com";
nathan = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP2NjuP722VUgpSu5bVUPTfdVNPO8fSW0Jlas8L4up13 bill@nathan"; nathan = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP2NjuP722VUgpSu5bVUPTfdVNPO8fSW0Jlas8L4up13 bill@nathan";
tarasco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOh+wG4f7tI0IwGyF2sLi5mPlh3JKE7KqV2ab0tlcL36 wpcarro@tarasco"; tarasco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOh+wG4f7tI0IwGyF2sLi5mPlh3JKE7KqV2ab0tlcL36 wpcarro@tarasco";
@ -11,6 +12,7 @@ rec {
all = [ all = [
ava ava
diogenes diogenes
iphone
marcus marcus
nathan nathan
tarasco tarasco

View file

@ -81,9 +81,10 @@ in
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
users.mutableUsers = true; users.mutableUsers = true;
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = with wpcarro.keys; [
wpcarro.keys.nathan iphone
wpcarro.keys.tarasco nathan
tarasco
]; ];
users.users.wpcarro = { users.users.wpcarro = {
isNormalUser = true; isNormalUser = true;
@ -93,9 +94,10 @@ in
"docker" "docker"
]; ];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = with wpcarro.keys; [
wpcarro.keys.nathan iphone
wpcarro.keys.tarasco nathan
tarasco
]; ];
}; };
users.extraGroups.vboxusers.members = [ "wpcarro" ]; users.extraGroups.vboxusers.members = [ "wpcarro" ];

View file

@ -77,9 +77,10 @@ in
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
users.mutableUsers = true; users.mutableUsers = true;
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = with wpcarro.keys; [
wpcarro.keys.nathan ava
wpcarro.keys.ava iphone
nathan
]; ];
users.users.wpcarro = { users.users.wpcarro = {
isNormalUser = true; isNormalUser = true;
@ -89,9 +90,10 @@ in
"docker" "docker"
]; ];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = with wpcarro.keys; [
wpcarro.keys.nathan ava
wpcarro.keys.ava iphone
nathan
]; ];
}; };
users.extraGroups.vboxusers.members = [ "wpcarro" ]; users.extraGroups.vboxusers.members = [ "wpcarro" ];