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" = {
|
||||
base_url =
|
||||
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
|
||||
"https://matrix-client.matrix.org";
|
||||
server_name =
|
||||
if osConfig.apps.messaging.element.selfhosted then
|
||||
"${osConfig.server.synapse.subdomain}.${osConfig.networking.domain}"
|
||||
"${osConfig.server.social.synapse.subdomain}.${osConfig.networking.domain}"
|
||||
else
|
||||
"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 = {
|
||||
kavita = {
|
||||
enable = config.server.media.kavita.enable;
|
||||
user = config.user.userName;
|
||||
settings = {
|
||||
Port = config.server.media.kavita.port;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
fqdn = "${config.server.synapse.subdomain}.${config.networking.domain}";
|
||||
fqdn = "${config.server.social.synapse.subdomain}.${config.networking.domain}";
|
||||
baseUrl = "https://${fqdn}";
|
||||
clientConfig."m.homeserver".base_url = baseUrl;
|
||||
serverConfig."m.server" = "${fqdn}:443";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue