i can just do nix flake check instead of git pushing and pulling every little thing lmao

This commit is contained in:
martyTF 2026-05-14 10:00:45 +02:00
parent dd45dd6380
commit 75a03ba2bb
6 changed files with 3 additions and 19 deletions

View file

@ -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";
};

View file

@ -152,10 +152,5 @@
};
};
};
server = {
synapse = {
subdomain = "yap";
};
};
};
}

View file

@ -152,10 +152,5 @@
};
};
};
server = {
synapse = {
subdomain = "yap";
};
};
};
}

View file

@ -151,10 +151,5 @@
};
};
};
server = {
synapse = {
subdomain = "yap";
};
};
};
}

View file

@ -24,7 +24,6 @@
services = {
kavita = {
enable = config.server.media.kavita.enable;
user = config.user.userName;
settings = {
Port = config.server.media.kavita.port;
};

View file

@ -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";