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:
parent
26eaae587b
commit
372b35dffa
2 changed files with 13 additions and 0 deletions
|
@ -437,6 +437,12 @@ in lib.fix(self: {
|
||||||
openssh.authorizedKeys.keys = depot.users.sterni.keys.all;
|
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
|
# Set up a user & group for git shenanigans
|
||||||
groups.git = {};
|
groups.git = {};
|
||||||
users.git = {
|
users.git = {
|
||||||
|
|
7
users/flokli/keys.nix
Normal file
7
users/flokli/keys.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
all = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPTVTXOutUZZjXLB0lUSgeKcSY/8mxKkC0ingGK1whD2 flokli"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue