infrastructure/meta/members.nix

38 lines
752 B
Nix
Raw Normal View History

2023-05-22 17:24:42 +02:00
/*
To add a new member add an attribute to `members`
Then add the key to the required groups.
*/
2023-05-22 15:06:11 +02:00
let
members = {
mdebray = {
name = "Maurice Debray";
email = "maurice.debray@dgnum.eu";
};
thubrecht = {
name = "Tom Hubrecht";
email = "tom.hubrecht@dgnum.eu";
};
2023-05-22 17:18:57 +02:00
raito = {
name = "Raito Bezarius";
2023-07-18 22:56:44 +02:00
email = "raito@dgnum.eu";
2023-05-22 17:18:57 +02:00
};
2023-05-22 15:06:11 +02:00
};
groups = {
2023-05-22 17:24:42 +02:00
# members of this group are root on all nodes
2023-07-18 22:59:08 +02:00
root = [ "thubrecht" "raito" ];
2023-05-22 15:06:11 +02:00
2023-05-22 17:24:42 +02:00
# members of this group are root on web nodes
2023-07-18 22:59:08 +02:00
web = [ "mdebray" ];
2023-06-07 14:13:36 +02:00
# members of this group will have root acces on the installation isos
iso = [ "thubrecht" "mdebray" "raito" ];
2023-07-18 17:00:31 +02:00
2023-07-18 22:59:08 +02:00
bureau = [ "gdd" ];
2023-05-22 15:06:11 +02:00
};
in
{ inherit groups members; }