matrix: remove pinned commit
This commit is contained in:
@@ -1,34 +1,9 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
service_configs,
|
service_configs,
|
||||||
lib,
|
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 = [
|
imports = [
|
||||||
(lib.serviceMountWithZpool "continuwuity" service_configs.zpool_ssds [
|
(lib.serviceMountWithZpool "continuwuity" service_configs.zpool_ssds [
|
||||||
@@ -41,7 +16,6 @@ in
|
|||||||
|
|
||||||
services.matrix-continuwuity = {
|
services.matrix-continuwuity = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit package;
|
|
||||||
|
|
||||||
settings.global = {
|
settings.global = {
|
||||||
port = [ service_configs.ports.matrix ];
|
port = [ service_configs.ports.matrix ];
|
||||||
|
|||||||
Reference in New Issue
Block a user