infrastructure/meta/nodes.nix

50 lines
929 B
Nix
Raw Normal View History

2023-05-22 17:24:42 +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
}
*/
2023-05-22 15:06:11 +02:00
{
web-01 = {
adminGroups = [ "web" ];
admins = [ ];
deployment = {
tags = [ "web" ];
targetHost = "129.199.129.200";
};
2023-06-30 18:30:35 +02:00
nixpkgs = "23.05";
2023-05-22 15:06:11 +02:00
};
2023-07-18 17:00:31 +02:00
compute01 = {
adminGroups = [ "bureau" ];
admins = [ ];
deployment = {
tags = [ "infra-pasteur" ];
targetHost = "129.199.146.147";
};
nixpkgs = "23.05";
};
storage01 = {
adminGroups = [ "bureau" ];
admins = [ ];
deployment = {
tags = [ "infra-pasteur" ];
targetHost = "129.199.146.148";
};
nixpkgs = "23.05";
};
2023-05-22 15:06:11 +02:00
}