Allow Clubs and Socs to have accounts again #49

Merged
silver merged 3 commits from #26-clubs-and-socs into main 2024-03-11 21:30:27 +00:00
Showing only changes of commit ff85fb657e - Show all commits

View file

@ -60,6 +60,7 @@
USERS_LIFETIME = lib.strings.concatStringsSep "," cfg.users.lifetime;
USERS_BANNED = lib.strings.concatStringsSep "," cfg.users.banned;
USERS_RESTRICTED = lib.strings.concatStringsSep "," cfg.users.restricted;
USERS_CLUBS_SOCIETIES = lib.strings.concatStringsSep "," cfg.users.clubs_societies;
};
service_name = script: lib.strings.sanitizeDerivationName("${cfg.user}@${script}");
@ -162,6 +163,11 @@
default = [];
description = "array of restricted user accounts";
};
clubs_societies = mkOption rec {
type = types.listOf types.str;
default = [];
description = "array of accounts for Clubs and Societies";
};
};
host_port = mkOption rec {