friends: init with ninjatrappeur
This commit is contained in:
parent
85154e3d19
commit
a812707b62
|
@ -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
11
modules/users/friends.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
3
modules/users/keys/ninjaTrappeur.keys
Normal file
3
modules/users/keys/ninjaTrappeur.keys
Normal 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
|
Loading…
Reference in a new issue