2024-10-12 00:20:58 +02:00
|
|
|
###
|
|
|
|
# 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-12-05 09:57:42 +01:00
|
|
|
let
|
|
|
|
mkRoutexp =
|
|
|
|
l:
|
|
|
|
builtins.listToAttrs (
|
|
|
|
builtins.map (
|
|
|
|
{ id, ... }:
|
|
|
|
{
|
|
|
|
name = "routexp${id}";
|
|
|
|
value = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$XJTT9MWCE49axmQppQSKc0$b9OzdEaQgDdXTc.meKWNeKd.TeTui2PdzdcFI/ggKk3";
|
|
|
|
|
|
|
|
stateVersion = "24.11";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
) l
|
|
|
|
);
|
|
|
|
in
|
2024-10-12 00:20:58 +02:00
|
|
|
{
|
2024-11-22 21:32:35 +01:00
|
|
|
dns01 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
2024-12-05 09:57:42 +01:00
|
|
|
# TODO:
|
2024-11-22 21:32:35 +01:00
|
|
|
hashedPassword = "$y$j9T$eNZQgDN.J5y7KTG2hXgat1$J1i5tjx5dnSZu.C9B7swXi5zMFIkUnmRrnmyLHFAt8/";
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "24.05";
|
|
|
|
};
|
2024-10-12 00:20:58 +02:00
|
|
|
krz01 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$eNZQgDN.J5y7KTG2hXgat1$J1i5tjx5dnSZu.C9B7swXi5zMFIkUnmRrnmyLHFAt8/";
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
2024-12-06 14:29:26 +01:00
|
|
|
homebox01 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$eNZQgDN.J5y7KTG2hXgat1$J1i5tjx5dnSZu.C9B7swXi5zMFIkUnmRrnmyLHFAt8/";
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
2024-11-02 02:14:38 +01:00
|
|
|
labcore01 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$aFhOWa05W7VKeKt3Nc.nA1$uBOvG4wf7/yWjwOxO8NLf9ipCsAkS1.5cD2EJpLx57A";
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "24.05";
|
|
|
|
};
|
2024-11-22 14:04:37 +01:00
|
|
|
photo01 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
# TODO
|
|
|
|
hashedPassword = "$y$j9T$aFhOWa05W7VKeKt3Nc.nA1$uBOvG4wf7/yWjwOxO8NLf9ipCsAkS1.5cD2EJpLx57A";
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
2024-10-18 11:05:12 +02:00
|
|
|
router02 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$aFhOWa05W7VKeKt3Nc.nA1$uBOvG4wf7/yWjwOxO8NLf9ipCsAkS1.5cD2EJpLx57A";
|
|
|
|
|
2024-12-07 16:26:03 +01:00
|
|
|
stateVersion = "24.05";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
|
|
|
status01 = {
|
|
|
|
site = "pav01";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$eNZQgDN.J5y7KTG2hXgat1$J1i5tjx5dnSZu.C9B7swXi5zMFIkUnmRrnmyLHFAt8/";
|
|
|
|
|
2024-10-18 11:05:12 +02:00
|
|
|
stateVersion = "24.05";
|
2024-10-29 06:59:21 +01:00
|
|
|
nixpkgs = "unstable";
|
2024-10-18 11:05:12 +02:00
|
|
|
};
|
2024-12-05 09:57:42 +01:00
|
|
|
roam01 = {
|
|
|
|
site = "nowhere";
|
|
|
|
|
|
|
|
hashedPassword = "$y$j9T$5OchePm5POsgveGLY/bKy/$9XkkZq9aBycg.YImEzFSiYRbAfBO0A4G7qMGIF/WEo9";
|
|
|
|
|
2024-12-05 09:59:59 +01:00
|
|
|
deployment.targetHost = "129.199.146.39";
|
2024-12-05 09:57:42 +01:00
|
|
|
|
|
|
|
stateVersion = "24.11";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
};
|
2024-10-12 00:20:58 +02:00
|
|
|
}
|
2024-12-05 09:57:42 +01:00
|
|
|
// mkRoutexp (import ./routexp.nix)
|