diff --git a/config/users.nix b/config/users.nix index ac428e2..fbe14f6 100644 --- a/config/users.nix +++ b/config/users.nix @@ -1,6 +1,11 @@ -{lib, ...}: +{ + lib, + config, + ... +}: with lib; let port_backend = "8087"; + cfg = config.skynet.users; in { options.skynet = { users = { @@ -44,19 +49,24 @@ in { config.skynet = { users = { - committee = [ - "silver" - "eoghanconlon73" - "sidhiel" - "maksimsger1" - "kaiden" - "pine" - "nanda" - "sourabh1805" - "kronsy" - "skyapples" - "emi05h" - ]; + committee = lib.lists.unique ( + # Committee + [ + "silver" + "eoghanconlon73" + "sidhiel" + "maksimsger1" + "kaiden" + "pine" + "nanda" + "sourabh1805" + "kronsy" + "skyapples" + "emi05h" + ] + # Admins are part of Committee as well + ++ cfg.admin + ); admin = [ "silver" "evanc"