about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-01-13T20·13+0100
committersterni <sternenseemann@systemli.org>2021-01-13T22·05+0000
commite93a2fc48f229f7b577dad6080e3258b677e7131 (patch)
treecd264888c8bc9363568510ea68b2f9a285828b8c /ops
parent73c2b8fb85129f93b362256dc64bd9ad8f7c0450 (diff)
feat(ops/nixos/whitby): add sterni user r/2094
Change-Id: Ia6790913ea2777a9d4ca89830436623766991c13
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2368
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops')
-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 3502b8aa233e..ee2c154c8e25 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -442,6 +442,12 @@ in lib.fix(self: {
       openssh.authorizedKeys.keys = depot.users.firefly.keys.whitby;
     };
 
+    users.sterni = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = depot.users.sterni.keys.all;
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {