feat: added support for skynet trainees

This commit is contained in:
silver 2023-11-20 16:31:01 +00:00
parent b0bc6f35c2
commit 303885ef0d
2 changed files with 28 additions and 18 deletions

View file

@ -56,6 +56,7 @@
# special categories of users
USERS_ADMIN = lib.strings.concatStringsSep "," cfg.users.admin;
USERS_COMMITTEE = lib.strings.concatStringsSep "," cfg.users.committee;
USERS_TRAINEE = lib.strings.concatStringsSep "," cfg.users.trainee;
USERS_LIFETIME = lib.strings.concatStringsSep "," cfg.users.lifetime;
USERS_BANNED = lib.strings.concatStringsSep "," cfg.users.banned;
USERS_RESTRICTED = lib.strings.concatStringsSep "," cfg.users.restricted;
@ -141,6 +142,11 @@
default = [];
description = "array of committee members";
};
trainee = mkOption rec {
type = types.listOf types.str;
default = [];
description = "array of trainee admins";
};
lifetime = mkOption rec {
type = types.listOf types.str;
default = [];