i can just do nix flake check instead of git pushing and pulling every little thing lmao
This commit is contained in:
parent
dd45dd6380
commit
75a03ba2bb
6 changed files with 3 additions and 19 deletions
|
|
@ -17,12 +17,12 @@
|
||||||
"m.homeserver" = {
|
"m.homeserver" = {
|
||||||
base_url =
|
base_url =
|
||||||
if osConfig.apps.messaging.element.selfhosted then
|
if osConfig.apps.messaging.element.selfhosted then
|
||||||
"https://${osConfig.server.synapse.subdomain}.${osConfig.networking.domain}"
|
"https://${osConfig.server.social.synapse.subdomain}.${osConfig.networking.domain}"
|
||||||
else
|
else
|
||||||
"https://matrix-client.matrix.org";
|
"https://matrix-client.matrix.org";
|
||||||
server_name =
|
server_name =
|
||||||
if osConfig.apps.messaging.element.selfhosted then
|
if osConfig.apps.messaging.element.selfhosted then
|
||||||
"${osConfig.server.synapse.subdomain}.${osConfig.networking.domain}"
|
"${osConfig.server.social.synapse.subdomain}.${osConfig.networking.domain}"
|
||||||
else
|
else
|
||||||
"matrix.org";
|
"matrix.org";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -152,10 +152,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
server = {
|
|
||||||
synapse = {
|
|
||||||
subdomain = "yap";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -152,10 +152,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
server = {
|
|
||||||
synapse = {
|
|
||||||
subdomain = "yap";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -151,10 +151,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
server = {
|
|
||||||
synapse = {
|
|
||||||
subdomain = "yap";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
services = {
|
services = {
|
||||||
kavita = {
|
kavita = {
|
||||||
enable = config.server.media.kavita.enable;
|
enable = config.server.media.kavita.enable;
|
||||||
user = config.user.userName;
|
|
||||||
settings = {
|
settings = {
|
||||||
Port = config.server.media.kavita.port;
|
Port = config.server.media.kavita.port;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
fqdn = "${config.server.synapse.subdomain}.${config.networking.domain}";
|
fqdn = "${config.server.social.synapse.subdomain}.${config.networking.domain}";
|
||||||
baseUrl = "https://${fqdn}";
|
baseUrl = "https://${fqdn}";
|
||||||
clientConfig."m.homeserver".base_url = baseUrl;
|
clientConfig."m.homeserver".base_url = baseUrl;
|
||||||
serverConfig."m.server" = "${fqdn}:443";
|
serverConfig."m.server" = "${fqdn}:443";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue