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:
parent
ad49980847
commit
0451747e31
2 changed files with 31 additions and 1 deletions
|
@ -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;
|
||||
'';
|
||||
};
|
||||
|
|
28
overlays/cinny/default.nix
Normal file
28
overlays/cinny/default.nix
Normal 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;
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue