about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2021-03-26T19·58+0100
committerflokli <flokli@flokli.de>2021-03-26T20·31+0000
commit372b35dffa756d8ef90381fe706dc4f0b298645c (patch)
treeab0bc0cfe149fcb545c51517367e952c16b4b0c0 /ops/nixos
parent26eaae587b320e0cf9317cee27d57a6db6b09f6b (diff)
feat(ops/nixos/whitby): add flokli user r/2347
Change-Id: Ibdb5b498f8bbc837fffdb38cdf95499b279773aa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2683
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
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 1bbab47f7a4d..08643b261f9d 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -437,6 +437,12 @@ in lib.fix(self: {
       openssh.authorizedKeys.keys = depot.users.sterni.keys.all;
     };
 
+    users.flokli = {
+      isNormalUser = true;
+      extraGroups = [ "git" ];
+      openssh.authorizedKeys.keys = depot.users.flokli.keys.all;
+    };
+
     # Set up a user & group for git shenanigans
     groups.git = {};
     users.git = {