fix: permit that olm
This commit is contained in:
parent
9e31ec6e5c
commit
bdc6bc69f2
1 changed files with 6 additions and 2 deletions
|
|
@ -15,6 +15,10 @@
|
||||||
return 200 '${builtins.toJSON data}';
|
return 200 '${builtins.toJSON data}';
|
||||||
'';
|
'';
|
||||||
turn = config.services.coturn;
|
turn = config.services.coturn;
|
||||||
|
unstablePkgs = import inputs.nixpkgs {
|
||||||
|
inherit (pkgs) system;
|
||||||
|
config = { permittedInsecurePackages = [ "olm-3.2.16" ]; };
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
age.secrets.matrix = {
|
age.secrets.matrix = {
|
||||||
file = ../../secrets/matrix.age;
|
file = ../../secrets/matrix.age;
|
||||||
|
|
@ -209,7 +213,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# WARN: Remove once mautrix-whatsapp is updated
|
# WARN: Remove once mautrix-whatsapp is updated
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
inputs.nixpkgs.config.permittedInsecurePackages = [
|
||||||
"olm-3.2.16"
|
"olm-3.2.16"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -284,7 +288,7 @@ in {
|
||||||
services.mautrix-whatsapp = {
|
services.mautrix-whatsapp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.age.secrets.mautrix-whatsapp.path;
|
environmentFile = config.age.secrets.mautrix-whatsapp.path;
|
||||||
package = inputs.nixpkgs.legacyPackages.${pkgs.system}.mautrix-whatsapp;
|
package = unstablePkgs.mautrix-whatsapp;
|
||||||
settings = {
|
settings = {
|
||||||
homeserver = {
|
homeserver = {
|
||||||
address = "http://localhost:8008";
|
address = "http://localhost:8008";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue