diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-02T19·07-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-02T20·28+0000 |
commit | 298060dba996d7577929fc34cf9545fa6910d5e8 (patch) | |
tree | 5ca3a478197cac9d3cbded1dc9e32c4907c90e5e /ops | |
parent | ba98c3ba4977d72d587fc95cf5e7d52b875684c7 (diff) |
feat(whitby): Add grfn r/1168
it's not glittershark because grfn is the username I have on my laptop and I want to be able to ssh without an `@`. Change-Id: Ie1fb6f5e12f3ac52a44680704179bd27a00a7768 Reviewed-on: https://cl.tvl.fyi/c/depot/+/850 Reviewed-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r-- | ops/nixos/whitby/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix index f037a4b31d88..eafd03a69e7e 100644 --- a/ops/nixos/whitby/default.nix +++ b/ops/nixos/whitby/default.nix @@ -143,6 +143,14 @@ in systemForConfig { openssh.authorizedKeys.keys = depot.users.lukegb.keys.all; }; + users.grfn = { + isNormalUser = true; + extraGroups = [ "git" "wheel" ]; + openssh.authorizedKeys.keys = [ + depot.users.glittershark.keys.whitby + ]; + }; + # Set up a user & group for git shenanigans groups.git = {}; users.git = { |