diff options
Diffstat (limited to 'theos')
-rw-r--r-- | theos/files/riot.config.json | 48 | ||||
-rw-r--r-- | theos/init.sls | 3 | ||||
-rw-r--r-- | theos/riot.sls | 14 |
3 files changed, 64 insertions, 1 deletions
diff --git a/theos/files/riot.config.json b/theos/files/riot.config.json new file mode 100644 index 0000000..f6dd2df --- /dev/null +++ b/theos/files/riot.config.json @@ -0,0 +1,48 @@ +{ + "default_server_config": { + "m.homeserver": { + "base_url": "https://matrix.kyriasis.com", + "server_name": "kyriasis.com" + }, + "m.identity_server": { + "base_url": "https://vector.im" + } + }, + "disable_custom_urls": false, + "disable_guests": true, + "disable_login_language_selector": false, + "disable_3pid_login": false, + "brand": "Riot", + "integrations_ui_url": "https://scalar.vector.im/", + "integrations_rest_url": "https://scalar.vector.im/api", + "integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html", + "bug_report_endpoint_url": "https://riot.im/bugreports/submit", + "defaultCountryCode": "GB", + "showLabsSettings": false, + "features": { + "feature_pinning": "labs", + "feature_custom_status": "labs", + "feature_custom_tags": "labs", + "feature_state_counters": "labs" + }, + "default_federate": true, + "default_theme": "light", + "roomDirectory": { + "servers": [ + "kyriasis.com", + "matrix.org" + ] + }, + "welcomeUserId": "@riot-bot:matrix.org", + "piwik": { + "url": "https://piwik.riot.im/", + "whitelistedHSUrls": ["https://matrix.org"], + "whitelistedISUrls": ["https://vector.im", "https://matrix.org"], + "siteId": 1 + }, + "enable_presence_by_hs_url": { + "https://matrix.org": false, + "https://archlinux.org": true, + "https://kyriasis.com": true + } +} diff --git a/theos/init.sls b/theos/init.sls index 43f88b7..14185ce 100644 --- a/theos/init.sls +++ b/theos/init.sls @@ -1,4 +1,5 @@ include: - - theos.nginx - theos.certs + - theos.nginx + - theos.riot - opensmtpd diff --git a/theos/riot.sls b/theos/riot.sls new file mode 100644 index 0000000..eb13836 --- /dev/null +++ b/theos/riot.sls @@ -0,0 +1,14 @@ +include: + - nginx + +riot-web: + pkg.installed: ~ + +config.json: + file.managed: + - name: /etc/webapps/riot/config.json + - source: salt://theos/files/riot.config.json + - require_in: + - service: nginx_service + - watch_in: + - service: nginx_service |