cluster/services/irc: specify ircOpers globally
This commit is contained in:
parent
1def40063d
commit
0af4177b2a
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ in
|
|||
owner = "ngircd";
|
||||
group = "ngircd";
|
||||
};
|
||||
ircOpers = [ "max" "num" "ark" ];
|
||||
};
|
||||
hostLinks = lib.genAttrs config.services.irc.nodes.host (name: {
|
||||
irc = {
|
||||
|
|
|
@ -9,7 +9,7 @@ let
|
|||
linkSecure = cluster.config.hostLinks.${vars.hostName}.ircSecure;
|
||||
otherServers = map mkServer cluster.config.services.irc.otherNodes.host;
|
||||
otherServerFiles = map (builtins.toFile "ngircd-peer.conf") otherServers;
|
||||
opers = map mkOper [ "max" "num" "ark" ];
|
||||
opers = map mkOper vars.ircOpers;
|
||||
|
||||
mkServer = name: let
|
||||
peerLink = cluster.config.hostLinks.${name}.ircSecure;
|
||||
|
|
Loading…
Reference in a new issue