1
0
Fork 0

feature(cinny): switch cinny services to custom package with notifications and voice calls

We use GigiaJ's fork to get notifications on mobile and voice calls into
cinny, this is quite buggy still but works mostly and is pretty neat.
This commit is contained in:
Philipp 2025-06-11 15:53:50 +02:00
parent ad49980847
commit 0451747e31
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
2 changed files with 31 additions and 1 deletions

View file

@ -22,7 +22,7 @@ in
package = mkOption {
description = "The package of Cinny to use.";
type = types.package;
default = pkgs.cinny-unwrapped;
default = pkgs.awesome-flake.cinny;
};
domain = mkOption {
@ -58,6 +58,8 @@ in
rewrite ^/public/(.*)$ /public/$1 break;
rewrite ^/assets/(.*)$ /assets/$1 break;
rewrite ^/element-call/dist/(.*)$ /element-call/dist/$1 break;
rewrite ^(.+)$ /index.html break;
'';
};

View file

@ -0,0 +1,28 @@
{
channels,
inputs,
...
}:
final: prev: {
awesome-flake = (prev.awesome-flake or { }) // {
cinny = prev.cinny-unwrapped.overrideAttrs (_old: rec {
pname = "cinny-unwrapped";
version = "2025-06-11-15-30";
src = final.fetchFromGitHub {
owner = "GigiaJ";
repo = "cinny";
rev = "1b281fe37b29e4b4a36d8bc3007a9abf2240ffff";
hash = "sha256-3DKFOuFR7qYSvWsE/kAnaES/T9CFGNpmmOutE4o6vb4=";
};
npmDepsHash = "sha256-Z7GP3aorCnII7KfWajR8L+otiBxYC+uaMSYWcgmnZjw=";
npmDeps = final.fetchNpmDeps {
inherit src;
name = "${pname}-${version}-npm-deps";
hash = npmDepsHash;
};
});
};
}