about summary refs log tree commit diff
diff options
context:
space:
mode:
authorisomer <isomer@tvl.fyi>2020-07-15T18·23+0000
committerisomer <isomer@tvl.fyi>2020-07-17T19·38+0000
commitcbff4fab9e0125290dbfc253fbdd6727c6600473 (patch)
tree05771d23875e8bd2247f7f240f609edb40debb30
parent8d5857abbcbd70fdeb50151b7a05edf5673809d3 (diff)
chore(whitby): += Isomer r/1347
Change-Id: I446ab16d009dc24340606ab2f411197af24d79c2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1142
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--ops/nixos/whitby/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index 9015efac1ce2..e3f33350c496 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -274,6 +274,14 @@ in {
       ];
     };
 
+    users.isomer = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = [
+         "cert-authority,principals=perry ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXWKN+FXlQAQ36R4+FHJ9f15Tz/48xLK1f85Yf9eBrvJJVMn6ge3Cy8AJ2nymBtVvCC86q616yl4Mn+CrKBH/vHr4jY9nxJ7HHgKI8ERr+7KpLIAiiaeIBljWwCy918lK3MijRCuj0P0d3v8CEFJjyCsiyglDVcNhsW87VqqZE6lUg4Alw1CGAmNjamxdoIZxjZAM9vJtZrlYnUiu+X7vTl5ttTaZkLCCfu+/bJAKFBWPG5BPaNjjfGVuTKqEc4plkI3JeZBu3Or3LzlYxcvp71i+eKGJ8F/nMBlo25iQsQpi8ZS7JYAhj3mYVrstw7j+nkgbordvDOK5NbDMi6GzX"
+      ];
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {