users: add eirikwitt and h7x4

This commit is contained in:
Peder Bergebakken Sundt 2024-06-15 20:15:32 +02:00
parent 8459ec5c67
commit c20a37b98a
7 changed files with 45 additions and 0 deletions

View File

@ -11,6 +11,8 @@
../../users/pbsds
../../users/daniel
../../users/eirikwitt
../../users/h7x4
../../profiles/shell.nix

View File

@ -28,6 +28,9 @@
#../../profiles/oci/docker.nix
../../users/pbsds
../../users/daniel
../../users/eirikwitt
../../users/h7x4
../../profiles/shell.nix

View File

@ -12,6 +12,7 @@
];
openssh.authorizedKeys.keys = [
# https://github.com/bartvbl.keys
"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAzKmT0H81NieLRqwLQfHaR0i/W+0SzwUehqktbWF9PiPV5X0KyH0WRa1v8K4+aprn5UXZechhfVuMp+O8kR4RjEblnBvZvd4rZkAQ2+yir8XRIF0cTkFj8QozKCOOE1f/9jFyiRr9BZyHZErGqGI0Sw0OLjcgcgThedO1K2odCK4ZTnLT6Gz5TJumzMcdQ9e4XXunCOmtFEM27mafsoxhvWwYjzm5lx6XPuiKWApNVOt/ibUFIaKQ4EJazHG93H7B7PHzGb/yOn+laNJRWvz9YesgcD4EejKAGTZXD38LnsnnjzCi1HaQ9zWa3aeObzyrqhX+IIuSZGpdt9kO8X7ZZQ=="
];
};

View File

@ -13,6 +13,7 @@
];
openssh.authorizedKeys.keys = [
# https://github.com/dali99.keys
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp8iMOx3eTiG5AmDh2KjKcigf7xdRKn9M7iZQ4RqP0np0UN2NUbu+VAMJmkWFyi3JpxmLuhszU0F1xY+3qM3ARduy1cs89B/bBE85xlOeYhcYVmpcgPR5xduS+TuHTBzFAgp+IU7/lgxdjcJ3PH4K0ruGRcX1xrytmk/vdY8IeSk3GVWDRrRbH6brO4cCCFjX0zJ7G6hBQueTPQoOy3jrUvgpRkzZY4ZCuljXtxbuX5X/2qWAkp8ca0iTQ5FzNA5JUyj+DWeEzjIEz6GrckOdV2LjWpT9+CtOqoPZOUudE1J9mJk4snNlMQjE06It7Kr50bpwoPqnxjo7ZjlHFLezl"
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6zZUC2o/xBLJ8gdgfxutlEkZVe1Nq8f/NeeEs2aESJQ+x6EcYtK74gvP0qGwZ77SUcosZYo9IG6JX2BKLCQYO7IzaUXyAc84weIxiuJdM3ZpNCZJoawSXcNfdIkULjIAYlsk+W1CvgLsF1j6atzIslRCAdLupwmeDyGOGK6TK+iHVDXNQyLcjTG5q+5j9lGUGoIoA9uVZ3vSX4aYnJRKTFyJ7UIl7/b6dfK8IPmUrsdKVLR0wMLuEDXUYKaCXMkh8pvpCFyraIW8/53hyphIW7ZZvvZMUlMHvo43DSXLNIPR0T6kVtPn3t2v5ykQlpB0IzaZ1Pgi3m5KfLJT+pWt3"
];

View File

@ -0,0 +1,19 @@
{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
users.users.eirikwitt = {
isNormalUser = true;
uid = 1005;
description = "eirikwitt";
extraGroups = [ "networkmanager" "wheel" ]; # TODO: NAS stuff
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
# https://github.com/eirikwitt.keys
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGZusOSiUVSMjrvNdUq4R91Gafq4XVs9C77Zt+LMPhCU"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAKjuCCi9x4+oL85cm5i1hHTnhMY2F2ZptODz7iF8qmb"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILVbiczhHW6F8s6D6VW0cMYyvQHBHds9gUMCsGj1ZvOQ"
];
};
}

18
users/h7x4/default.nix Normal file
View File

@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:
{
programs.zsh.enable = true;
users.users.h7x4 = {
isNormalUser = true;
uid = 1006;
description = "øystein";
extraGroups = [ "networkmanager" "wheel" ]; # TODO: NAS stuff
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
# https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