forked from nico/dots
users: add user rhys
This commit is contained in:
parent
527c27fe8e
commit
084f9fca35
2 changed files with 15 additions and 0 deletions
14
modules/users/rhys.nix
Normal file
14
modules/users/rhys.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue