infra/users/ryantm.nix

17 lines
301 B
Nix
Raw Permalink 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; };
2020-01-22 12:37:13 +01:00
in
{
2020-01-11 16:19:19 -08:00
users.users.ryantm = {
2023-12-31 12:42:56 +10:00
openssh.authorizedKeys.keyFiles = [ ./keys/ryantm ];
2020-01-11 16:19:19 -08:00
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";
};
}