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" = { "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";
}; };

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 = { 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;
}; };

View file

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