infra/users/zimbatm.nix

20 lines
388 B
Nix
Raw Normal View History

2022-12-31 07:24:17 +01:00
{ lib, ... }:
let
userLib = import ./lib.nix { inherit lib; };
keys = [
2023-01-21 11:13:21 +01:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuiDoBOxgyer8vGcfAIbE6TC4n4jo8lhG9l01iJ0bZz"
];
2020-01-22 12:37:13 +01:00
in
{
users.users.zimbatm = {
openssh.authorizedKeys.keys = keys;
useDefaultShell = true;
isNormalUser = true;
extraGroups = [
2022-08-14 16:49:30 +02:00
"wheel"
"trusted"
];
uid = userLib.mkUid "zimb";
};
}