78 lines
1.2 KiB
Nix
78 lines
1.2 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
|
|
# }
|
|
|
|
let
|
|
mkNode = _: attrs: {
|
|
access = [ ];
|
|
|
|
deployment = { };
|
|
|
|
nixpkgs = "23.05";
|
|
} // attrs;
|
|
in
|
|
|
|
builtins.mapAttrs mkNode {
|
|
core-services-01 = {
|
|
admins = [
|
|
"gdd"
|
|
"hubrecht"
|
|
"mrf"
|
|
"raito"
|
|
"sinavir"
|
|
];
|
|
|
|
deployment.targetHost = "core01.rz.ens.wtf";
|
|
|
|
stateVersion = "22.05";
|
|
};
|
|
|
|
public-cof = {
|
|
admins = [
|
|
"gdd"
|
|
"hubrecht"
|
|
"mrf"
|
|
"raito"
|
|
"sinavir"
|
|
];
|
|
|
|
deployment.targetHost = "beta.rz.ens.wtf";
|
|
|
|
stateVersion = "21.05";
|
|
};
|
|
|
|
router03 = {
|
|
admins = [
|
|
"gdd"
|
|
"hubrecht"
|
|
"raito"
|
|
"sinavir"
|
|
];
|
|
|
|
deployment.targetHost = "129.199.146.231";
|
|
|
|
stateVersion = "24.05";
|
|
};
|
|
|
|
router04 = {
|
|
admins = [
|
|
"gdd"
|
|
"hubrecht"
|
|
"raito"
|
|
"sinavir"
|
|
];
|
|
|
|
deployment.targetHost = "129.199.146.232";
|
|
|
|
stateVersion = "24.05";
|
|
};
|
|
|
|
}
|