about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2020-08-05T01·28+0000
committeredef <edef@edef.eu>2020-08-05T22·32+0000
commit6a128fc16255965c8c30d1610a838e6ce2a86066 (patch)
treef86be16080c73eddc10e45e1beef76f737efec5d /ops/nixos
parente6ccbc9f356672df0b5ba183e4419190b240ee3d (diff)
chore(whitby): add edef r/1602
Change-Id: I7265259bc87594bd481c7bd455187c09b1effd1c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1650
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/nixos')
-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 c77338c69858..906c69e5ef32 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -353,6 +353,12 @@ in lib.fix(self: {
       openssh.authorizedKeys.keys = depot.users.riking.keys.u2f ++ depot.users.riking.keys.passworded;
     };
 
+    users.edef = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = depot.users.edef.keys.all;
+    };
+
     users.qyliss = {
       isNormalUser = true;
       extraGroups = [ "git" ];