Compare commits
No commits in common. "0e7dd1ea709428fe1cdfd4e835ef7f4f73aa1689" and "a63f682aeb27451f2ca3c969978111417d26a7ad" have entirely different histories.
0e7dd1ea70
...
a63f682aeb
3 changed files with 8 additions and 66 deletions
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
dgn-lib = import ../lib { };
|
||||
|
||||
dgn-members = (import ../meta).members.groups.root;
|
||||
dgn-members = (import ../meta).members.groups.iso;
|
||||
in
|
||||
|
||||
{
|
||||
|
|
|
@ -67,39 +67,6 @@ in
|
|||
Groups of the DGNum organization.
|
||||
'';
|
||||
};
|
||||
|
||||
external = mkOption {
|
||||
type = attrsOf (listOf str);
|
||||
description = ''
|
||||
External services used by the DGNum organization.
|
||||
'';
|
||||
};
|
||||
|
||||
services = mkOption {
|
||||
type = attrsOf (submodule {
|
||||
options = {
|
||||
admins = mkOption {
|
||||
type = listOf str;
|
||||
default = [ ];
|
||||
description = ''
|
||||
List of administrators of the service.
|
||||
'';
|
||||
};
|
||||
|
||||
adminGroups = mkOption {
|
||||
type = listOf str;
|
||||
default = [ ];
|
||||
description = ''
|
||||
List of administrator groups of the service.
|
||||
'';
|
||||
};
|
||||
};
|
||||
});
|
||||
description = ''
|
||||
Administrator access of the different DGNum services,
|
||||
it is mainly indicative as most services cannot configure this statically.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
nodes = mkOption {
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
name = "Jean-Marc Gailis";
|
||||
email = "jm@dgnum.eu";
|
||||
};
|
||||
|
||||
luj = {
|
||||
name = "Julien Malka";
|
||||
email = "luj@dgnum.eu";
|
||||
|
@ -45,41 +44,17 @@
|
|||
"luj"
|
||||
];
|
||||
|
||||
# members of this group are root on the fai infrastructure
|
||||
fai = [ "catvayor" ];
|
||||
};
|
||||
|
||||
external = {
|
||||
dns = [
|
||||
# members of this group will have root access on the installation isos
|
||||
iso = [
|
||||
"thubrecht"
|
||||
"mdebray"
|
||||
"raito"
|
||||
"luj"
|
||||
];
|
||||
|
||||
email = [ "raito" ];
|
||||
# members of this group can access netbox's secret
|
||||
netbox = [ ];
|
||||
|
||||
irc = [ "raito" ];
|
||||
};
|
||||
|
||||
services = {
|
||||
# Démarches Normaliennes
|
||||
ds-fr.admins = [
|
||||
"thubrecht"
|
||||
"jemagius"
|
||||
];
|
||||
|
||||
# Cloud DGNum
|
||||
nextcloud.admins = [
|
||||
"thubrecht"
|
||||
"raito"
|
||||
];
|
||||
|
||||
# Netbox DGNum
|
||||
netbox.adminGroups = [
|
||||
"root"
|
||||
"fai"
|
||||
];
|
||||
|
||||
# Videos DGNum
|
||||
peertube.admins = [ "thubrecht" ];
|
||||
bureau = [ "gdd" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue