infrastructure/meta/nodes.nix

140 lines
3.1 KiB
Nix
Raw Normal View History

###
# 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
2024-02-23 10:50:50 +01:00
*/
{
bridge01 = {
site = "hyp01";
hashedPassword = "$y$j9T$EPJdz70kselouXAVUmAH01$8nYbUBY9NPTMfYigegY0qFSdxJwhqzW8sFacDqEYCP5";
stateVersion = "24.05";
adminGroups = [ "fai" ];
deployment = {
targetHost = "fd26:baf9:d250:8000::ffff";
sshOptions = [
"-J"
"root@vault01.hyp01.infra.dgnum.eu"
];
};
};
2023-07-18 17:00:31 +02:00
compute01 = {
site = "pav01";
2024-02-23 10:50:50 +01:00
hashedPassword = "$y$j9T$2nxZHq84G7fWvWMEaGavE/$0ADnmD9qMpXJJ.rWWH9086EakvZ3wAg0mSxZYugOf3C";
stateVersion = "23.05";
nix-modules = [ "services/stirling-pdf" ];
2024-06-06 11:39:20 +02:00
nixpkgs = "24.05";
2023-07-18 17:00:31 +02:00
};
2024-02-20 17:47:50 +01:00
geo01 = {
site = "oik01";
2024-02-20 17:57:38 +01:00
deployment.tags = [ "geo" ];
hashedPassword = "$y$j9T$2XmDpJu.QLhV57yYCh5Lf1$LK.X0HKB02Q0Ujvhj5nIofW2IRrIAL/Uxnvl9AXM1L8";
2024-02-20 17:57:38 +01:00
stateVersion = "24.05";
2024-06-06 11:39:20 +02:00
nixpkgs = "24.05";
2024-02-20 17:57:38 +01:00
};
geo02 = {
site = "oik01";
2024-02-20 17:57:38 +01:00
deployment.tags = [ "geo" ];
hashedPassword = "$y$j9T$Q4fbMpSm9beWu4DPNAR9t0$dx/1pH4GPY72LpS5ZiECXAZFDdxwmIywztsX.qo2VVA";
2024-02-20 17:47:50 +01:00
stateVersion = "24.05";
2024-06-06 11:39:20 +02:00
nixpkgs = "24.05";
2024-02-20 17:47:50 +01:00
};
2024-10-20 21:29:55 +02:00
rescue01 = {
site = "luj01";
deployment.targetHost = "v6.rescue01.luj01.infra.dgnum.eu";
hashedPassword = "$y$j9T$nqoMMu/axrD0m8AlUFdbs.$UFVmIdPAOHBe2jJv5HJJTcDgINC7LTnSGRQNs9zS1mC";
stateVersion = "23.11";
vm-cluster = "Hyperviseur Luj";
};
2023-07-18 17:00:31 +02:00
storage01 = {
site = "pav01";
hashedPassword = "$y$j9T$tvRu1EJ9MwDSvEm0ogwe70$bKSw6nNteN0L3NOy2Yix7KlIvO/oROQmQ.Ynq002Fg8";
stateVersion = "23.11";
2024-06-06 11:39:20 +02:00
nixpkgs = "24.05";
2024-10-20 23:01:14 +02:00
nix-modules = [
"services/forgejo-nix-runners"
"services/netbird/server.nix"
];
2023-07-18 17:00:31 +02:00
};
2024-01-10 15:00:18 +01:00
vault01 = {
site = "hyp01";
deployment.targetHost = "vault01.hyp01.infra.dgnum.eu";
2024-02-23 10:50:50 +01:00
hashedPassword = "$y$j9T$5osXVNxCDxu3jIndcyh7G.$UrjiDRpMu3W59tKHLGNdLWllZh.4p8IM4sBS5SrNrN1";
2024-01-10 15:00:18 +01:00
stateVersion = "23.11";
2024-06-06 11:39:20 +02:00
nixpkgs = "24.05";
adminGroups = [ "fai" ];
2024-01-10 15:00:18 +01:00
};
2024-01-11 12:45:01 +01:00
2024-10-20 21:29:55 +02:00
web01 = {
site = "rat01";
deployment.tags = [ "web" ];
hashedPassword = "$y$j9T$9YqXO93VJE/GP3z8Sh4h51$hrBsEPL2O1eP/wBZTrNT8XV906V4JKbQ0g04IWBcyd2";
stateVersion = "23.05";
vm-cluster = "Hyperviseur NPS";
nixpkgs = "24.05";
};
2024-01-11 12:45:01 +01:00
web02 = {
site = "rat01";
2024-02-23 10:50:50 +01:00
hashedPassword = "$y$j9T$p42UVNy78PykkQOjPwXNJ/$B/zCUOrHXVSFGUY63wnViMiSmU2vCWsiX0y62qqgNQ5";
2024-01-11 12:45:01 +01:00
stateVersion = "24.05";
2024-07-05 14:38:53 +02:00
nixpkgs = "24.05";
2024-03-23 20:22:58 +01:00
vm-cluster = "Hyperviseur NPS";
2024-01-11 12:45:01 +01:00
};
2024-02-21 01:44:48 +01:00
2024-10-16 11:07:40 +02:00
web03 = {
site = "rat01";
hashedPassword = "$y$j9T$Un/tcX5SPKNXG.sy/BcTa.$kyNHELjb1GAOWnauJfcjyVi5tacWcuEBKflZDCUC6x4";
stateVersion = "24.05";
2024-10-22 14:09:54 +02:00
nixpkgs = "unstable";
2024-10-16 11:07:40 +02:00
vm-cluster = "Hyperviseur NPS";
};
2023-05-22 15:06:11 +02:00
}