Kapisi/roles/IRC/templates/inspircd/opers.conf.j2

13 lines
580 B
Django/Jinja

# We are not yet deeply using the class system -- only NetAdmins should be managing the network. Most management will be through services.
<class name="NetAdmin" commands="*" usermodes="*" chanmodes="*" privs="*">
<type
name="NetAdmin"
classes="NetAdmin"
vhost="{{ external_domain }}"
modes="+s +aAcCjkKlLoOqQr">
# Operators are tracked in the vault.
{% for oper in secrets['IRC']['opers'] %}
<oper name="{{ oper }}" password="{{ secrets['IRC']['opers'][oper] }}" hash="sha256" host="*@127.0.0.1 *@10.0.1.* *@localhost *@aninix.net" type="NetAdmin">
{% endfor %}