feat(ops/nixos/whitby): add flokli user

Change-Id: Ibdb5b498f8bbc837fffdb38cdf95499b279773aa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2683
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2021-03-26 20:58:55 +01:00 committed by flokli
parent 26eaae587b
commit 372b35dffa
2 changed files with 13 additions and 0 deletions

View file

@ -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 = {

7
users/flokli/keys.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
all = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPTVTXOutUZZjXLB0lUSgeKcSY/8mxKkC0ingGK1whD2 flokli"
];
}