users: add user rhys

This commit is contained in:
Nico 2025-05-10 20:47:15 +10:00
parent 527c27fe8e
commit 084f9fca35
2 changed files with 15 additions and 0 deletions

14
modules/users/rhys.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ...}:
{
users.users.rhys = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
};
users.users.rhys.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0Pce0wQKV+wI7rCIiUZgqqkiodTXZ6fMiZezLy9uZk" # laptop
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC+HNs1/r4LMQsfpqXhU7396q5zL9hvfcNdiQSUTIl4R" # phone
];
}