about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Höglund <firefly@firefly.nu>2020-09-28T13·22+0200
committerfirefly <firefly@firefly.nu>2020-09-28T13·42+0000
commitb2870615f71e2f40a1553a37e6c65b6496054c8c (patch)
tree031384d4830a4d3868f2a4773e6cf0ad8d7d1663
parentc2363261cde3045096505ffd2df633119b624e38 (diff)
feat(whitby): add firefly user r/1828
Change-Id: Ib785577c173795d5cc6ccd7a3ee7e6a568439a0d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2013
Tested-by: BuildkiteCI
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 596ce284c1..9406c6847c 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -408,6 +408,12 @@ in lib.fix(self: {
       openssh.authorizedKeys.keys = depot.users.cynthia.keys.all;
     };
 
+    users.firefly = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = depot.users.firefly.keys.whitby;
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {