infra/users/ryantm.nix

20 lines
396 B
Nix
Raw Normal View History

2020-01-11 16:19:19 -08:00
{ config, pkgs, lib, ... }:
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 = [
"wheel" "trusted"
2020-01-11 16:19:19 -08:00
];
uid = userLib.mkUid "rytm";
};
}