users: add user rhys
This commit is contained in:
parent
527c27fe8e
commit
084f9fca35
2 changed files with 15 additions and 0 deletions
|
|
@ -68,6 +68,7 @@
|
||||||
./modules/games/server/minecraft/forge-1.19.2.nix
|
./modules/games/server/minecraft/forge-1.19.2.nix
|
||||||
|
|
||||||
./modules/users/nico.nix
|
./modules/users/nico.nix
|
||||||
|
./modules/users/rhys.nix
|
||||||
|
|
||||||
./hosts/bocchi/configuration.nix
|
./hosts/bocchi/configuration.nix
|
||||||
./hosts/nixos-common.nix
|
./hosts/nixos-common.nix
|
||||||
|
|
|
||||||
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