Matrix configuration #13
|
@ -1,18 +1,19 @@
|
|||
nixos domain option nixos domain option
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
domain = "staging.ifsr.de";
|
||||
nixos domain option nixos domain option
|
||||
domainServer = "matrix.${domain}";
|
||||
nixos domain option nixos domain option
|
||||
domainClient = "chat.${domain}";
|
||||
nixos domain option nixos domain option
|
||||
domainServer = "matrix.${config.fsr.domain}";
|
||||
nixos domain option nixos domain option
|
||||
domainClient = "chat.${config.fsr.domain}";
|
||||
nixos domain option nixos domain option
|
||||
|
||||
nixos domain option nixos domain option
|
||||
clientConfig = {
|
||||
"m.homeserver" = {
|
||||
base_url = "https://${domainServer}:443";
|
||||
server_name = domainServer;
|
||||
};
|
||||
"m.identity_server" = {};
|
||||
nixos domain option nixos domain option
|
||||
"m.identity_server" = { };
|
||||
nixos domain option nixos domain option
|
||||
};
|
||||
serverConfig = {
|
||||
"m.server" = "${domainServer}:443";
|
||||
};
|
||||
|
||||
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
|
|||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
||||
'';
|
||||
in
|
||||
{
|
||||
#sops.secrets = {
|
||||
nixos domain option nixos domain option
|
||||
# sops.secrets = {
|
||||
nixos domain option nixos domain option
|
||||
# synapse_registration_secret = {
|
||||
# owner = "matrix-synapse";
|
||||
# group = "matrix-synapse";
|
||||
# };
|
||||
#};
|
||||
nixos domain option nixos domain option
|
||||
# };
|
||||
nixos domain option nixos domain option
|
||||
|
||||
services = {
|
||||
postgresql = {
|
||||
|
|
|||
nixos domain option nixos domain option
nixos domain option nixos domain option
|
Loading…
Reference in a new issue
nixos domain option