about summary refs log tree commit diff
path: root/ops/nixos/whitby
diff options
context:
space:
mode:
authoreta <eta@theta.eu.org>2020-08-17T22·24+0100
committereta <eta@theta.eu.org>2020-08-17T22·27+0000
commit737d192aec9318c66928f13a8e42b66468740aa8 (patch)
tree9b698ba1281843ad1db54c5974399133ef3d8c40 /ops/nixos/whitby
parentf7687b1ea757c75e1eba8e0b2e25feea12719bc0 (diff)
feat(whitby): add eta r/1670
Change-Id: I7aa2bd2cb2c001b48ebd25b20f28cdfb0883ba3f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1782
Tested-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos/whitby')
-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 c05cb324f5ec..db6eca0f5e56 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -383,6 +383,12 @@ in lib.fix(self: {
       openssh.authorizedKeys.keys = depot.users.multi.keys.whitby;
     };
 
+    users.eta = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = depot.users.eta.keys.whitby;
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {