Matrix configuration #13

Merged
fugidev merged 7 commits from matrix into main 2023-02-03 15:10:19 +01:00
Showing only changes of commit ce7db4dac5 - Show all commits

View file

@ -1,18 +1,19 @@
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
{ config, pkgs, lib, ... }:
let
domain = "staging.ifsr.de";
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
domainServer = "matrix.${domain}";
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
domainClient = "chat.${domain}";
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
domainServer = "matrix.${config.fsr.domain}";
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
domainClient = "chat.${config.fsr.domain}";
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
clientConfig = {
"m.homeserver" = {
base_url = "https://${domainServer}:443";
server_name = domainServer;
};
"m.identity_server" = {};
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
"m.identity_server" = { };
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
};
serverConfig = {
"m.server" = "${domainServer}:443";
};
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
mkWellKnown = data: ''
add_header Content-Type application/json;
add_header Access-Control-Allow-Origin *;
@ -20,12 +21,12 @@ let
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
'';
in
{
#sops.secrets = {
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
# sops.secrets = {
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
# synapse_registration_secret = {
# owner = "matrix-synapse";
# group = "matrix-synapse";
# };
#};
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
# };
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
services = {
postgresql = {

tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option
tanneberger commented 2022-12-17 19:43:15 +01:00 (Migrated from github.com)
Review

nixos domain option

nixos domain option