infrastructure/meta/nodes.nix
katvayor f9a34353a3 Add keys/catvayor.keys (#83)
Reviewed-on: DGNum/infrastructure#83
Co-authored-by: katvayor <catvayor@katvayor.net>
Co-committed-by: katvayor <catvayor@katvayor.net>
2024-04-04 12:49:28 +02:00

84 lines
1.5 KiB
Nix

###
# File specifying all the deployement options for the nodes administrated by the dgnum.
#
# Node metadata template is:
#
# NODE_NAME = {
# adminGroups = []; # List of groups that have root access
# admins = []; # List of individuals that have root access
# deployment = {}; # Colmena deployment options
# nixpkgs = "unstable" or "22.11"; # nixpkgs version
# }
/*
Liste des différents sites :
- rat01 -> VM du NPSPI
- pav01 -> Salle serveur sous le pavillon Pasteur
- oik01 -> Local DGNum Jourdan
- hyp01 -> Salle serveur Hypnos 1
- luj01 -> VM de Luj
*/
{
web01 = {
site = "rat01";
deployment.tags = [ "web" ];
stateVersion = "23.05";
vm-cluster = "Hyperviseur NPS";
};
compute01 = {
site = "pav01";
stateVersion = "23.05";
};
geo01 = {
site = "oik01";
deployment.tags = [ "geo" ];
stateVersion = "24.05";
nixpkgs = "unstable";
};
geo02 = {
site = "oik01";
deployment.tags = [ "geo" ];
stateVersion = "24.05";
nixpkgs = "unstable";
};
storage01 = {
site = "pav01";
stateVersion = "23.11";
};
vault01 = {
site = "hyp01";
deployment.targetHost = "vault01.dgnum";
stateVersion = "23.11";
nixpkgs = "unstable";
admins = [ "catvayor" ];
};
web02 = {
site = "rat01";
stateVersion = "24.05";
nixpkgs = "unstable";
vm-cluster = "Hyperviseur NPS";
};
rescue01 = {
site = "luj01";
deployment.targetHost = "v6.rescue01.luj01.infra.dgnum.eu";
stateVersion = "23.11";
vm-cluster = "Hyperviseur Luj";
};
}