fix: add the option for trainee users

This commit is contained in:
silver 2023-11-20 16:44:38 +00:00
parent fee6f37fb7
commit 56fdff7571

View file

@ -4,15 +4,20 @@ with lib; let
in { in {
options.skynet = { options.skynet = {
users = { users = {
committee = mkOption rec {
type = types.listOf types.str;
default = [];
description = "array of committee members";
};
admin = mkOption rec { admin = mkOption rec {
type = types.listOf types.str; type = types.listOf types.str;
default = []; default = [];
description = "array of admins"; description = "array of admins";
}; };
committee = mkOption rec { trainee = mkOption rec {
type = types.listOf types.str; type = types.listOf types.str;
default = []; default = [];
description = "array of committee members"; description = "array of trainee admins";
}; };
lifetime = mkOption rec { lifetime = mkOption rec {
type = types.listOf types.str; type = types.listOf types.str;