fix: permit that olm

This commit is contained in:
s-prechtl 2025-12-22 11:30:42 +01:00
parent 9e31ec6e5c
commit bdc6bc69f2

View file

@ -15,6 +15,10 @@
return 200 '${builtins.toJSON data}';
'';
turn = config.services.coturn;
unstablePkgs = import inputs.nixpkgs {
inherit (pkgs) system;
config = { permittedInsecurePackages = [ "olm-3.2.16" ]; };
};
in {
age.secrets.matrix = {
file = ../../secrets/matrix.age;
@ -209,7 +213,7 @@ in {
};
# WARN: Remove once mautrix-whatsapp is updated
nixpkgs.config.permittedInsecurePackages = [
inputs.nixpkgs.config.permittedInsecurePackages = [
"olm-3.2.16"
];
@ -284,7 +288,7 @@ in {
services.mautrix-whatsapp = {
enable = true;
environmentFile = config.age.secrets.mautrix-whatsapp.path;
package = inputs.nixpkgs.legacyPackages.${pkgs.system}.mautrix-whatsapp;
package = unstablePkgs.mautrix-whatsapp;
settings = {
homeserver = {
address = "http://localhost:8008";