bump sable

This commit is contained in:
Henry Hiles 2026-05-13 10:29:52 -04:00
commit 1d87dce992
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 162 additions and 56 deletions

View file

@ -2,22 +2,23 @@
{
services.caddy.virtualHosts =
let
mkCinny = package: {
commonConf = {
defaultHomeserver = 0;
homeserverList = [ "federated.nexus" ];
allowCustomHomeservers = false;
disableAccountSwitcher = true;
featuredCommunities = {
spaces = { };
rooms = { };
};
};
mkCinny = package: extraConf: {
extraConfig = ''
root ${
pkgs.cinny.override {
conf = {
defaultHomeserver = 0;
homeserverList = [ "federated.nexus" ];
allowCustomHomeservers = false;
disableAccountSwitcher = true;
featuredCommunities = {
spaces = { };
rooms = { };
};
};
conf = commonConf // extraConf;
cinny-unwrapped = package;
}
}
@ -28,11 +29,11 @@
in
{
"app.federated.nexus" =
mkCinny
inputs.nixpkgs-sable.legacyPackages.${pkgs.stdenv.hostPlatform.system}.sable-unwrapped;
mkCinny inputs.sable.packages.${pkgs.stdenv.hostPlatform.system}.default
{ };
"staging.app.federated.nexus" =
mkCinny
inputs.nixpkgs-sable.legacyPackages.${pkgs.stdenv.hostPlatform.system}.sable-unwrapped;
mkCinny inputs.sable.packages.${pkgs.stdenv.hostPlatform.system}.default
{ };
};
}