infra/users/ryantm.nix

21 lines
388 B
Nix
Raw Normal View History

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