rename cinny -> sable

This commit is contained in:
Henry Hiles 2026-08-17 17:56:15 -04:00
commit 768cf2e834
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -0,0 +1,57 @@
{ pkgs, inputs, ... }:
{
services.caddy.virtualHosts =
let
commonConf = {
defaultHomeserver = 0;
homeserverList = [ "federated.nexus" ];
allowCustomHomeservers = false;
disableAccountSwitcher = true;
featuredCommunities = {
spaces = { };
rooms = { };
servers = [
"matrixrooms.info"
"mozilla.org"
"matrix.org"
];
};
settingsDefaults = {
themeRemoteDarkFullUrl = "https://raw.githubusercontent.com/SableClient/themes/main/themes/cinny-dark.sable.css";
themeCatalogOnboardingDone = true;
themeRemoteCatalogEnabled = true;
renderGlobalNameColors = false;
renderUserCards = "none";
renderRoomColors = false;
renderRoomFonts = false;
hour24Clock = true;
};
};
mkCinny = package: extraConf: {
extraConfig = ''
root ${
pkgs.cinny.override {
conf = commonConf // extraConf;
cinny-unwrapped = package;
}
}
try_files {path} {path}/ /index.html
file_server
'';
};
in
{
"app.federated.nexus" =
mkCinny inputs.sable.packages.${pkgs.stdenv.hostPlatform.system}.default
{ };
"staging.app.federated.nexus" =
mkCinny inputs.sable.packages.${pkgs.stdenv.hostPlatform.system}.default
{ };
};
}