From 63ffd218c2adabf0b74f1a3939411716cd47f1a1 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Wed, 10 Dec 2025 13:59:00 +0100 Subject: [PATCH] feat: pin mautrix until fixed in nixpkgs --- hosts/hitsugibune/matrix.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/hitsugibune/matrix.nix b/hosts/hitsugibune/matrix.nix index 1cf4482..e4fa1cc 100644 --- a/hosts/hitsugibune/matrix.nix +++ b/hosts/hitsugibune/matrix.nix @@ -14,6 +14,13 @@ return 200 '${builtins.toJSON data}'; ''; turn = config.services.coturn; + mautrix_whatsapp_old = import (pkgs.fetchFromGitHub { + owner = "NixOS"; + repo = "nixpkgs"; + rev = "88e8a4036877dc2d328fd3e7cb4e732eb037e49c"; + # Run once without sha256 to get the wanted hash from the error message: + # sha256 = "sha256-..."; + }) {}; in { age.secrets.matrix = { file = ../../secrets/matrix.age; @@ -252,6 +259,7 @@ in { services.mautrix-whatsapp = { enable = true; environmentFile = config.age.secrets.mautrix-whatsapp.path; + package = mautrix_whatsapp_old.mautrix-whatsapp; settings = { homeserver = { address = "http://localhost:8008";