infrastructure/meta/members.nix
2023-07-18 22:57:34 +02:00

37 lines
760 B
Nix

/*
To add a new member add an attribute to `members`
Then add the key to the required groups.
*/
let
members = {
mdebray = {
name = "Maurice Debray";
email = "maurice.debray@dgnum.eu";
};
thubrecht = {
name = "Tom Hubrecht";
email = "tom.hubrecht@dgnum.eu";
};
raito = {
name = "Raito Bezarius";
email = "raito@dgnum.eu";
};
};
groups = {
# members of this group are root on all nodes
root = [ "thubrecht" ];
# members of this group are root on web nodes
web = [ "mdebray" "raito" ];
# members of this group will have root acces on the installation isos
iso = [ "thubrecht" "mdebray" "raito" ];
bureau = [ "gdd" "raito" ];
};
in
{ inherit groups members; }