about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-07-17T20·51-0700
committerKane York <rikingcoding@gmail.com>2020-07-18T21·21+0000
commit3c9ee249299955c415f536a81ea7b4c218b3a36b (patch)
treeef0e50c74d4d37079fb3719b0f23e1394c5ce741
parenta724158512441e6d7b17b991e52e2099817a3033 (diff)
chore(whitby): add riking r/1385
Change-Id: I33cc1324eac9a13be56d296d09cfdbe066d90e13
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1256
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Reviewed-by: tazjin <mail@tazj.in>
-rw-r--r--ops/nixos/whitby/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index 2229b44dd79d..e42bdc864f37 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -298,6 +298,12 @@ in lib.fix(self: {
       ];
     };
 
+    users.riking = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = depot.users.riking.keys.u2f ++ depot.users.riking.keys.passworded;
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {