diff --git a/services/matrix.nix b/services/matrix.nix index 10a4ebf..e1d3b17 100644 --- a/services/matrix.nix +++ b/services/matrix.nix @@ -1,34 +1,9 @@ { config, - pkgs, service_configs, lib, ... }: -let - package = - let - src = pkgs.fetchFromGitea { - domain = "forgejo.ellis.link"; - owner = "continuwuation"; - repo = "continuwuity"; - rev = "052c4dfa2165fdc4839fed95b71446120273cf23"; - hash = "sha256-kQV4glRrKczoJpn9QIMgB5ac+saZQjSZPel+9K9Ykcs="; - }; - in - pkgs.matrix-continuwuity.overrideAttrs (old: { - inherit src; - cargoDeps = pkgs.rustPlatform.fetchCargoVendor { - inherit src; - name = "${old.pname}-vendor"; - hash = "sha256-vlOXQL8wwEGFX+w0G/eIeHW3J1UDzhJ501kYhAghDV8="; - }; - - patches = (old.patches or [ ]) ++ [ - - ]; - }); -in { imports = [ (lib.serviceMountWithZpool "continuwuity" service_configs.zpool_ssds [ @@ -41,7 +16,6 @@ in services.matrix-continuwuity = { enable = true; - inherit package; settings.global = { port = [ service_configs.ports.matrix ];