friends: init with ninjatrappeur

This commit is contained in:
raito 2023-08-16 15:22:54 +02:00
parent 85154e3d19
commit a812707b62
3 changed files with 15 additions and 0 deletions

View file

@ -10,6 +10,7 @@ in
../modules/iperf-server.nix ../modules/iperf-server.nix
../modules/hypervisor.nix ../modules/hypervisor.nix
../modules/hydra/coordinator.nix ../modules/hydra/coordinator.nix
../modules/users/friends.nix
]; ];
networking.hostName = "epyc"; networking.hostName = "epyc";

11
modules/users/friends.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }: {
users.users = {
ninjatrappeur = {
isNormalUser = true;
home = "/home/ninjatrappeur";
shell = "/run/current-system/sw/bin/zsh";
uid = 2000;
openssh.authorizedKeys.keyFiles = [ ./keys/ninjatrappeur.keys ];
};
};
}

View file

@ -0,0 +1,3 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClF9ko5u4zf0CEvleEeRbo9r6BMNgXEGO/rDNZOEHcKxVaeIi+/xF6ZQ5MZbcmH08lswq32hb1XwXg7Gk+ofUdEvCD/kC/vJijt7IFkardy6BNOSWQJLEf6/BpL3LzDQhi7iZXPF46VYoPVGHBh8fKQaAtOCrhbf/8JutfTwCglEztjoiQxY5b8OMfntjBSl6TJwZPJAoQllbJJz9q90sBetvqx6Y08eqIzsSZw6pznpvivRR+TSKU0EkVYS2y2zBAvPK6oyunj5zi01/FACT+Qn70dUkumZAvcPssbl0hCs/xDLgEL6hCEvoszodyMYVn7HS0KwfUlfiGdNUOFHIl
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzd1XAB7Pc8Tplur5iV3llOXtvlHru8pLtQlbvHzmt1
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOE7oDtq+xt5RuvMigDZMeZQODFr5Otz6HCO8wnI80oo