rename cinny -> sable
This commit is contained in:
parent
59009cf4dc
commit
768cf2e834
1 changed files with 0 additions and 0 deletions
57
clients/quadraticserver/matrix/sable.nix
Normal file
57
clients/quadraticserver/matrix/sable.nix
Normal 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
|
||||
{ };
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue