about summary refs log tree commit diff
path: root/users/wpcarro/nixos/ava/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-09-12T17·02-0700
committerclbot <clbot@tvl.fyi>2022-09-12T18·00+0000
commitc0a2a13c848c7ac06bb2e2846423b37d88258f81 (patch)
treedab35212bd30cb09bf60367c9ae8fbe2f09ddb0f /users/wpcarro/nixos/ava/default.nix
parentf9007c6a470be02c15fcbc5bf8dd3f02890610ee (diff)
feat(wpcarro/ssh): Support iPhone SSH key r/4826
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
Diffstat (limited to 'users/wpcarro/nixos/ava/default.nix')
-rw-r--r--users/wpcarro/nixos/ava/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/users/wpcarro/nixos/ava/default.nix b/users/wpcarro/nixos/ava/default.nix
index 29849878fa6b..280b9f45e3a3 100644
--- a/users/wpcarro/nixos/ava/default.nix
+++ b/users/wpcarro/nixos/ava/default.nix
@@ -81,9 +81,10 @@ in
   hardware.pulseaudio.enable = true;
 
   users.mutableUsers = true;
-  users.users.root.openssh.authorizedKeys.keys = [
-    wpcarro.keys.nathan
-    wpcarro.keys.tarasco
+  users.users.root.openssh.authorizedKeys.keys = with wpcarro.keys; [
+    iphone
+    nathan
+    tarasco
   ];
   users.users.wpcarro = {
     isNormalUser = true;
@@ -93,9 +94,10 @@ in
       "docker"
     ];
     shell = pkgs.fish;
-    openssh.authorizedKeys.keys = [
-      wpcarro.keys.nathan
-      wpcarro.keys.tarasco
+    openssh.authorizedKeys.keys = with wpcarro.keys; [
+      iphone
+      nathan
+      tarasco
     ];
   };
   users.extraGroups.vboxusers.members = [ "wpcarro" ];