about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-07-02T19·05+0100
committerlukegb <lukegb@tvl.fyi>2020-07-02T19·33+0000
commit8ad55c90958689fe07d92bd7a46d602b6a7bbb2a (patch)
tree0b3276100080a1564336a8aee89768df4cc05e40 /ops
parent8db06970e991221de080f15e269a7821dd63757e (diff)
feat(whitby): add lukegb r/1166
Change-Id: I26356632b86a64519128bc673178f1cd1b55b99b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/848
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/whitby/OWNERS1
-rw-r--r--ops/nixos/whitby/default.nix6
2 files changed, 7 insertions, 0 deletions
diff --git a/ops/nixos/whitby/OWNERS b/ops/nixos/whitby/OWNERS
index 96f1ec4864e6..b1b749e871e1 100644
--- a/ops/nixos/whitby/OWNERS
+++ b/ops/nixos/whitby/OWNERS
@@ -2,4 +2,5 @@ inherited: false
 
 # Want in on this list? Try paying!
 owners:
+  - lukegb
   - tazjin
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index c3e4b46e1029..f037a4b31d88 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -137,6 +137,12 @@ in systemForConfig {
       ];
     };
 
+    users.lukegb = {
+      isNormalUser = true;
+      extraGroups = [ "git" "wheel" ];
+      openssh.authorizedKeys.keys = depot.users.lukegb.keys.all;
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {