2024-08-26 22:48:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2023-10-09 16:40:40 +00:00
|
|
|
with lib; let
|
|
|
|
port_backend = "8087";
|
2024-08-26 22:48:59 +00:00
|
|
|
cfg = config.skynet.users;
|
2023-10-09 16:40:40 +00:00
|
|
|
in {
|
2023-10-09 17:04:01 +00:00
|
|
|
options.skynet = {
|
2023-10-09 16:40:40 +00:00
|
|
|
users = {
|
2023-11-20 16:44:38 +00:00
|
|
|
committee = mkOption rec {
|
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
|
|
|
description = "array of committee members";
|
|
|
|
};
|
2023-10-09 16:40:40 +00:00
|
|
|
admin = mkOption rec {
|
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
|
|
|
description = "array of admins";
|
|
|
|
};
|
2023-11-20 16:44:38 +00:00
|
|
|
trainee = mkOption rec {
|
2023-10-09 16:40:40 +00:00
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
2023-11-20 16:44:38 +00:00
|
|
|
description = "array of trainee admins";
|
2023-10-09 16:40:40 +00:00
|
|
|
};
|
|
|
|
lifetime = mkOption rec {
|
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
|
|
|
description = "array of lifetime users";
|
|
|
|
};
|
|
|
|
banned = mkOption rec {
|
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
|
|
|
description = "array of banned users";
|
|
|
|
};
|
|
|
|
restricted = mkOption rec {
|
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
|
|
|
description = "array of restricted user accounts";
|
|
|
|
};
|
2024-03-11 22:06:10 +00:00
|
|
|
clubs_societies = mkOption rec {
|
2024-03-11 22:09:04 +00:00
|
|
|
type = types.listOf types.str;
|
|
|
|
default = [];
|
2024-03-11 22:06:10 +00:00
|
|
|
description = "array of accounts for Clubs and Societies";
|
|
|
|
};
|
2023-10-09 16:40:40 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-09 17:04:01 +00:00
|
|
|
config.skynet = {
|
2023-10-09 16:40:40 +00:00
|
|
|
users = {
|
2024-08-26 22:48:59 +00:00
|
|
|
committee = lib.lists.unique (
|
2024-10-04 11:37:56 +00:00
|
|
|
# Committee - Core
|
2024-08-26 22:48:59 +00:00
|
|
|
[
|
|
|
|
"silver"
|
|
|
|
"eoghanconlon73"
|
|
|
|
"nanda"
|
2024-10-04 11:37:56 +00:00
|
|
|
"emily1999"
|
|
|
|
"dgr"
|
2024-10-04 11:37:56 +00:00
|
|
|
]
|
|
|
|
# Committee - OCM
|
|
|
|
++ [
|
2024-08-26 22:48:59 +00:00
|
|
|
"skyapples"
|
2024-10-04 11:37:56 +00:00
|
|
|
"eliza"
|
|
|
|
"amymucko"
|
2024-10-04 11:37:56 +00:00
|
|
|
"archiedms"
|
2024-11-27 14:03:17 +00:00
|
|
|
"kaiden"
|
2024-08-26 22:48:59 +00:00
|
|
|
]
|
2024-11-08 18:24:13 +00:00
|
|
|
# Committee - SISTEM
|
|
|
|
++ [
|
|
|
|
"peace"
|
|
|
|
]
|
2024-08-26 22:48:59 +00:00
|
|
|
# Admins are part of Committee as well
|
|
|
|
++ cfg.admin
|
|
|
|
);
|
2023-11-20 16:10:09 +00:00
|
|
|
admin = [
|
|
|
|
"silver"
|
|
|
|
"evanc"
|
2024-01-25 21:55:04 +00:00
|
|
|
"eliza"
|
2024-06-06 18:01:46 +00:00
|
|
|
"esy"
|
2023-11-20 16:10:09 +00:00
|
|
|
];
|
2024-10-04 11:37:56 +00:00
|
|
|
trainee = [];
|
2023-10-09 16:40:40 +00:00
|
|
|
lifetime = [];
|
|
|
|
banned = [];
|
2024-03-11 20:51:27 +00:00
|
|
|
|
2024-03-11 22:30:48 +00:00
|
|
|
clubs_societies = [
|
|
|
|
"outinul"
|
2024-03-12 15:30:53 +00:00
|
|
|
"gamesdev"
|
2024-03-11 22:30:48 +00:00
|
|
|
];
|
2024-03-11 20:51:27 +00:00
|
|
|
|
2023-10-09 16:40:40 +00:00
|
|
|
restricted =
|
|
|
|
[
|
|
|
|
# usernames folks arent allowed to use
|
|
|
|
"contact"
|
|
|
|
"dnsadm"
|
|
|
|
"president"
|
|
|
|
"treasurer"
|
|
|
|
"secretary"
|
|
|
|
"pro"
|
|
|
|
"sysadmin"
|
|
|
|
"root"
|
|
|
|
]
|
|
|
|
++ [
|
|
|
|
# basis comes from https://discord.com/channels/689189992417067052/1126084496710713414/1149072061466169444
|
|
|
|
# start off with compsoc stuff first
|
|
|
|
"competition_www"
|
|
|
|
"demo1"
|
|
|
|
"demouser"
|
|
|
|
"ftp"
|
|
|
|
"lost+found"
|
|
|
|
"postfix"
|
|
|
|
"skynews.old"
|
|
|
|
"system_backup"
|
|
|
|
"test"
|
|
|
|
"test12"
|
|
|
|
"test20202"
|
|
|
|
"test20203"
|
|
|
|
"tmp"
|
|
|
|
"webadm"
|
|
|
|
]
|
|
|
|
++ [
|
|
|
|
# clubs and socs (as far as I can tell
|
|
|
|
"aerosoc"
|
|
|
|
"aikido"
|
|
|
|
"anfocal"
|
|
|
|
"bics"
|
|
|
|
"boarding"
|
|
|
|
"cns"
|
|
|
|
"dev"
|
|
|
|
"filmsoc"
|
|
|
|
"gaa"
|
|
|
|
"german"
|
|
|
|
"golfsoc"
|
|
|
|
"handball"
|
|
|
|
"hispanic"
|
|
|
|
"history"
|
|
|
|
"hockey"
|
|
|
|
"home"
|
|
|
|
"legosoc"
|
|
|
|
"lifesave"
|
|
|
|
"mens_gfc"
|
|
|
|
"musicsoc"
|
|
|
|
"pagansoc"
|
|
|
|
"peacesoc"
|
|
|
|
"physics"
|
|
|
|
"poker"
|
|
|
|
"prolife"
|
|
|
|
"radio"
|
|
|
|
"ragweek"
|
|
|
|
"sinnfein"
|
|
|
|
"soccer"
|
|
|
|
"ulbs"
|
|
|
|
"ulcamogie"
|
|
|
|
"ulcc"
|
|
|
|
"ulgaa"
|
|
|
|
"ulils"
|
|
|
|
"ulladiesfootball"
|
|
|
|
"ullaughinsoc"
|
|
|
|
"ulrfc"
|
|
|
|
"ulriders"
|
|
|
|
"ulssc"
|
|
|
|
"ultennis"
|
|
|
|
"viking"
|
|
|
|
]
|
|
|
|
++ [
|
|
|
|
# remaining, most likely usernames
|
|
|
|
"_9thwonder"
|
|
|
|
"abc"
|
|
|
|
"activate"
|
|
|
|
"aiesec"
|
|
|
|
"air"
|
|
|
|
"aladdin"
|
|
|
|
"alaric"
|
|
|
|
"aldozzie"
|
|
|
|
"allenli"
|
|
|
|
"amg"
|
|
|
|
"amgl"
|
|
|
|
"annette"
|
|
|
|
"annlad"
|
|
|
|
"ards_backup"
|
|
|
|
"arisquez"
|
|
|
|
"arthur"
|
|
|
|
"austin"
|
|
|
|
"beta"
|
|
|
|
"bh"
|
|
|
|
"bigdave"
|
|
|
|
"bios"
|
|
|
|
"bizarroal"
|
|
|
|
"bmacaree"
|
|
|
|
"boardy"
|
|
|
|
"boddah"
|
|
|
|
"bogus.anime.fakh"
|
|
|
|
"bogus.bhudt.dacf"
|
|
|
|
"bogus.citoge.baym"
|
|
|
|
"bogus.electro.ba0a"
|
|
|
|
"bogus.fencing.baw5"
|
|
|
|
"bogus.harry.ba8f"
|
|
|
|
"bogus.hui.hong.baci"
|
|
|
|
"bogus.ironman.baqib"
|
|
|
|
"bogus.joe.bach"
|
|
|
|
"bogus.kenny.bas6"
|
|
|
|
"bogus.kerswin.baybb"
|
|
|
|
"bogus.kravmaga.ba0w"
|
|
|
|
"bogus.methi.baq5"
|
|
|
|
"bogus.nelsonmw.bauc"
|
|
|
|
"bogus.poshea.ba0m"
|
|
|
|
"bogus.redwolf.bawn"
|
|
|
|
"bogus.romanov.baat"
|
|
|
|
"bogus.ryan.bae-"
|
|
|
|
"bogus.rynnea.bask"
|
|
|
|
"bogus.sea.af"
|
|
|
|
"bogus.shane.c.ba8z"
|
|
|
|
"bogus.t1000.baggb"
|
|
|
|
"bogus.ullrugby.ba8p"
|
|
|
|
"brendan"
|
|
|
|
"bubba"
|
|
|
|
"c_material_removed"
|
|
|
|
"ca_worm"
|
|
|
|
"cactus"
|
|
|
|
"carticus"
|
|
|
|
"cathalc"
|
|
|
|
"cathald-broken"
|
|
|
|
"cdschedule"
|
|
|
|
"celtic"
|
|
|
|
"christine"
|
|
|
|
"cian"
|
|
|
|
"ciara"
|
|
|
|
"ciaran"
|
|
|
|
"colin"
|
|
|
|
"cosmo"
|
|
|
|
"counsel"
|
|
|
|
"creosote"
|
|
|
|
"crew"
|
|
|
|
"cues"
|
|
|
|
"cur"
|
|
|
|
"cwhelan"
|
|
|
|
"dac"
|
|
|
|
"daktulu"
|
|
|
|
"datacore"
|
|
|
|
"davec"
|
|
|
|
"daverus"
|
|
|
|
"deano"
|
|
|
|
"deccy"
|
|
|
|
"declanmu"
|
|
|
|
"deiji"
|
|
|
|
"dermotmc"
|
|
|
|
"derrick"
|
|
|
|
"deshocks"
|
|
|
|
"diarmuid"
|
|
|
|
"dippy"
|
|
|
|
"djraptor"
|
|
|
|
"dmackey"
|
|
|
|
"dmir"
|
|
|
|
"dom"
|
|
|
|
"dom_mckay"
|
|
|
|
"donie"
|
|
|
|
"donnacha"
|
|
|
|
"dos30"
|
|
|
|
"drazhar"
|
|
|
|
"duffman"
|
|
|
|
"eas"
|
|
|
|
"electal"
|
|
|
|
"emc"
|
|
|
|
"emilia"
|
|
|
|
"emma"
|
|
|
|
"emmag"
|
|
|
|
"ents"
|
|
|
|
"envcom"
|
|
|
|
"eoinh95"
|
|
|
|
"epgriffin"
|
|
|
|
"equest"
|
|
|
|
"fiacc"
|
|
|
|
"fint"
|
|
|
|
"flanno"
|
|
|
|
"fmannix"
|
|
|
|
"foodcoop"
|
|
|
|
"gamenet"
|
|
|
|
"ganainm"
|
|
|
|
"gar"
|
|
|
|
"ger88"
|
|
|
|
"ghama"
|
|
|
|
"ging"
|
|
|
|
"goborobo"
|
|
|
|
"gooner"
|
|
|
|
"greekweek"
|
|
|
|
"hawking"
|
|
|
|
"hb"
|
|
|
|
"homer"
|
|
|
|
"hoshi"
|
|
|
|
"ian"
|
|
|
|
"ianrice"
|
|
|
|
"ilug"
|
|
|
|
"infinity"
|
|
|
|
"ingenuus"
|
|
|
|
"internat"
|
|
|
|
"jamessy"
|
|
|
|
"jamiebarry"
|
|
|
|
"jbravo"
|
|
|
|
"jdonegan"
|
|
|
|
"joedredd"
|
|
|
|
"johann"
|
|
|
|
"jokill"
|
|
|
|
"jsoccer"
|
|
|
|
"jules"
|
|
|
|
"kate"
|
|
|
|
"katie"
|
|
|
|
"kellyj"
|
|
|
|
"kiely"
|
|
|
|
"koo"
|
|
|
|
"l_d_ablo"
|
|
|
|
"lakes"
|
|
|
|
"laura"
|
|
|
|
"lebowski"
|
|
|
|
"liabraid"
|
|
|
|
"lynn"
|
|
|
|
"mal"
|
|
|
|
"manuel"
|
|
|
|
"maraz"
|
|
|
|
"marieke"
|
|
|
|
"marky"
|
|
|
|
"mature"
|
|
|
|
"mbyrne"
|
|
|
|
"meanturtle"
|
|
|
|
"mickaful"
|
|
|
|
"mickasul"
|
|
|
|
"mikado"
|
|
|
|
"mikeh"
|
|
|
|
"mikkel"
|
|
|
|
"mixiezme"
|
|
|
|
"mmc"
|
|
|
|
"molly"
|
|
|
|
"moochie"
|
|
|
|
"moonser"
|
|
|
|
"mopic"
|
|
|
|
"mp"
|
|
|
|
"nastros"
|
|
|
|
"neutrino"
|
|
|
|
"new"
|
|
|
|
"nezzy"
|
|
|
|
"nkdc"
|
|
|
|
"nmcenroy"
|
|
|
|
"noelle"
|
|
|
|
"nugget"
|
|
|
|
"ob"
|
|
|
|
"omega"
|
|
|
|
"oneillbeano"
|
|
|
|
"pamela"
|
|
|
|
"peterj"
|
|
|
|
"photyl"
|
|
|
|
"plake"
|
|
|
|
"pmcg1986"
|
|
|
|
"pyro"
|
|
|
|
"qubeat"
|
|
|
|
"rachel"
|
|
|
|
"rachelg"
|
|
|
|
"ralmeida"
|
|
|
|
"raymond"
|
|
|
|
"razzlero"
|
|
|
|
"red"
|
|
|
|
"rmacm"
|
|
|
|
"rmorrissey"
|
|
|
|
"robson"
|
|
|
|
"selena"
|
|
|
|
"shark"
|
|
|
|
"shayscannell"
|
|
|
|
"shazlove"
|
|
|
|
"shelley"
|
|
|
|
"shelly"
|
|
|
|
"silver.old"
|
|
|
|
"sirhc"
|
|
|
|
"sithlord"
|
|
|
|
"sk"
|
|
|
|
"sligoer"
|
|
|
|
"slowey"
|
|
|
|
"smallp"
|
|
|
|
"smurfy"
|
|
|
|
"sordfish"
|
|
|
|
"soul98"
|
|
|
|
"soular"
|
|
|
|
"st"
|
|
|
|
"stefanovich"
|
|
|
|
"svp"
|
|
|
|
"szczerba"
|
|
|
|
"tangsoodo"
|
|
|
|
"tc"
|
|
|
|
"tenfor"
|
|
|
|
"teslacut"
|
|
|
|
"theematt"
|
|
|
|
"thomasl"
|
|
|
|
"tockman"
|
|
|
|
"ugm"
|
|
|
|
"vanzan"
|
|
|
|
"volleyb"
|
|
|
|
"warren"
|
|
|
|
"weather"
|
|
|
|
"wiles"
|
|
|
|
"yvonne"
|
|
|
|
"zrahman"
|
2023-12-30 12:59:25 +00:00
|
|
|
]
|
|
|
|
++ [
|
2023-12-30 12:58:52 +00:00
|
|
|
# former aliases
|
|
|
|
"david.dolphin"
|
|
|
|
"cc"
|
2024-01-17 07:44:00 +00:00
|
|
|
"mark.brennan"
|
2023-10-09 16:40:40 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|