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

Change-Id: Ia6790913ea2777a9d4ca89830436623766991c13
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2368
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
sterni 2021-01-13 21:13:24 +01:00
parent 73c2b8fb85
commit e93a2fc48f
2 changed files with 13 additions and 0 deletions

View file

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

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

@ -0,0 +1,7 @@
{ ... }:
{
all = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJk+KvgvI2oJTppMASNUfMcMkA2G5ZNt+HnWDzaXKLlo lukas@wolfgang"
];
}