infrastructure/meta/nodes.nix
sinavir 747d8c08cb
All checks were successful
build configuration / build_vault01 (pull_request) Successful in 1m55s
build configuration / build_web02 (pull_request) Successful in 1m38s
build configuration / build_compute01 (pull_request) Successful in 2m7s
build configuration / build_web01 (pull_request) Successful in 1m59s
build configuration / build_storage01 (pull_request) Successful in 2m12s
build configuration / build_rescue01 (pull_request) Successful in 1m2s
build configuration / build_compute01 (push) Successful in 1m5s
build configuration / build_storage01 (push) Successful in 1m8s
build configuration / build_vault01 (push) Successful in 1m6s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m27s
build configuration / build_web02 (push) Successful in 53s
build configuration / build_rescue01 (push) Successful in 51s
feat(netbox-agent): init
2024-03-28 13:26:19 +01:00

80 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";
};
web02 = {
site = "rat01";
stateVersion = "24.05";
nixpkgs = "unstable";
vm-cluster = "Hyperviseur NPS";
};
rescue01 = {
site = "luj01";
stateVersion = "23.11";
vm-cluster = "Hyperviseur Luj";
};
}