2023-09-03 16:46:27 +02:00
|
|
|
{ pkgs, ... }:
|
2023-03-31 18:27:25 +02:00
|
|
|
|
|
|
|
{
|
2024-06-06 14:06:33 +02:00
|
|
|
imports = [
|
2024-06-03 09:20:11 +02:00
|
|
|
../../module/jungle-users.nix
|
2024-06-06 14:06:33 +02:00
|
|
|
];
|
|
|
|
|
2023-03-31 18:27:25 +02:00
|
|
|
users = {
|
|
|
|
mutableUsers = false;
|
2023-06-14 16:16:46 +02:00
|
|
|
users = {
|
2023-06-20 14:08:34 +02:00
|
|
|
# Generate hashedPassword with `mkpasswd -m sha-512`
|
|
|
|
|
|
|
|
root.openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKBOf4r4lzQfyO0bx5BaREePREw8Zw5+xYgZhXwOZoBO ram@hop"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINa0tvnNgwkc5xOwd6xTtaIdFi5jv0j2FrE7jl5MTLoE ram@mio"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF3zeB5KSimMBAjvzsp1GCkepVaquVZGPYwRIzyzaCba aleix@bsc"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIII/1TNArcwA6D47mgW4TArwlxQRpwmIGiZDysah40Gb root@hut"
|
|
|
|
];
|
|
|
|
|
2023-06-14 16:16:46 +02:00
|
|
|
rarias = {
|
|
|
|
uid = 1880;
|
|
|
|
isNormalUser = true;
|
|
|
|
home = "/home/Computational/rarias";
|
|
|
|
description = "Rodrigo Arias";
|
|
|
|
group = "Computational";
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
hashedPassword = "$6$u06tkCy13enReBsb$xiI.twRvvTfH4jdS3s68NZ7U9PSbGKs5.LXU/UgoawSwNWhZo2hRAjNL5qG0/lAckzcho2LjD0r3NfVPvthY6/";
|
2023-06-20 14:08:34 +02:00
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKBOf4r4lzQfyO0bx5BaREePREw8Zw5+xYgZhXwOZoBO ram@hop"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINa0tvnNgwkc5xOwd6xTtaIdFi5jv0j2FrE7jl5MTLoE ram@mio"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYcXIxe0poOEGLpk8NjiRozls7fMRX0N3j3Ar94U+Gl rarias@hal"
|
|
|
|
];
|
2023-09-03 16:46:27 +02:00
|
|
|
shell = pkgs.zsh;
|
2023-06-14 16:16:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
arocanon = {
|
|
|
|
uid = 1042;
|
|
|
|
isNormalUser = true;
|
|
|
|
home = "/home/Computational/arocanon";
|
|
|
|
description = "Aleix Roca";
|
|
|
|
group = "Computational";
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
hashedPassword = "$6$hliZiW4tULC/tH7p$pqZarwJkNZ7vS0G5llWQKx08UFG9DxDYgad7jplMD8WkZh5k58i4dfPoWtnEShfjTO6JHiIin05ny5lmSXzGM/";
|
2023-06-20 14:08:34 +02:00
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF3zeB5KSimMBAjvzsp1GCkepVaquVZGPYwRIzyzaCba aleix@bsc"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdphWxLAEekicZ/WBrvP7phMyxKSSuLAZBovNX+hZXQ aleix@kerneland"
|
|
|
|
];
|
2023-06-14 16:16:46 +02:00
|
|
|
};
|
2024-06-06 14:06:33 +02:00
|
|
|
};
|
2023-06-20 12:48:00 +02:00
|
|
|
|
2024-06-06 14:06:33 +02:00
|
|
|
jungleUsers = {
|
2023-06-20 12:48:00 +02:00
|
|
|
rpenacob = {
|
|
|
|
uid = 2761;
|
|
|
|
isNormalUser = true;
|
|
|
|
home = "/home/Computational/rpenacob";
|
2023-06-20 14:08:34 +02:00
|
|
|
description = "Raúl Peñacoba";
|
2023-06-20 12:48:00 +02:00
|
|
|
group = "Computational";
|
2024-06-06 14:06:33 +02:00
|
|
|
hosts = [ "hut" ];
|
2023-06-20 12:48:00 +02:00
|
|
|
hashedPassword = "$6$TZm3bDIFyPrMhj1E$uEDXoYYd1z2Wd5mMPfh3DZAjP7ztVjJ4ezIcn82C0ImqafPA.AnTmcVftHEzLB3tbe2O4SxDyPSDEQgJ4GOtj/";
|
2023-06-20 14:08:34 +02:00
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFYfXg37mauGeurqsLpedgA2XQ9d4Nm0ZGo/hI1f7wwH rpenacob@bsc"
|
|
|
|
];
|
2023-06-20 12:48:00 +02:00
|
|
|
};
|
2023-09-04 16:00:01 +02:00
|
|
|
|
|
|
|
anavarro = {
|
|
|
|
uid = 1037;
|
|
|
|
isNormalUser = true;
|
|
|
|
home = "/home/Computational/anavarro";
|
|
|
|
description = "Antoni Navarro";
|
|
|
|
group = "Computational";
|
2024-06-06 14:06:33 +02:00
|
|
|
hosts = [ "hut" "raccoon" ];
|
2023-09-04 16:00:01 +02:00
|
|
|
hashedPassword = "$6$QdNDsuLehoZTYZlb$CDhCouYDPrhoiB7/seu7RF.Gqg4zMQz0n5sA4U1KDgHaZOxy2as9pbIGeF8tOHJKRoZajk5GiaZv0rZMn7Oq31";
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILWjRSlKgzBPZQhIeEtk6Lvws2XNcYwHcwPv4osSgst5 anavarro@ssfhead"
|
|
|
|
];
|
|
|
|
};
|
2024-06-07 10:06:58 +02:00
|
|
|
|
|
|
|
vlopez = {
|
|
|
|
uid = 4334;
|
|
|
|
isNormalUser = true;
|
|
|
|
home = "/home/Computational/vlopez";
|
|
|
|
description = "Victor López";
|
|
|
|
group = "Computational";
|
|
|
|
hosts = [ "koro" ];
|
|
|
|
hashedPassword = "$6$0ZBkgIYE/renVqtt$1uWlJsb0FEezRVNoETTzZMx4X2SvWiOsKvi0ppWCRqI66S6TqMBXBdP4fcQyvRRBt0e4Z7opZIvvITBsEtO0f0";
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMwlUZRf9jfG666Qa5Sb+KtEhXqkiMlBV2su3x/dXHq victor@arch"
|
|
|
|
];
|
|
|
|
};
|
2023-03-31 18:27:25 +02:00
|
|
|
};
|
2023-04-03 12:51:44 +02:00
|
|
|
|
|
|
|
groups = {
|
|
|
|
Computational = { gid = 564; };
|
|
|
|
};
|
2023-03-31 18:27:25 +02:00
|
|
|
};
|
|
|
|
}
|