From c59f00815f1c7df955468ead4d2d4f0fbe3fa5e5 Mon Sep 17 00:00:00 2001 From: Random936 Date: Tue, 3 Feb 2026 20:45:55 -0500 Subject: [PATCH] Added pantalaimon and updated bash scripts --- bash-scripts | 2 +- home/modules/emacs.nix | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/bash-scripts b/bash-scripts index 7d83c32..b8c0149 160000 --- a/bash-scripts +++ b/bash-scripts @@ -1 +1 @@ -Subproject commit 7d83c328be3b8ade20aeeb172aea2bc45ac037d1 +Subproject commit b8c01492e2aa0d309718bc57e8e55dedca85757d diff --git a/home/modules/emacs.nix b/home/modules/emacs.nix index e8cd645..d954e82 100644 --- a/home/modules/emacs.nix +++ b/home/modules/emacs.nix @@ -1,4 +1,5 @@ { pkgs, ... }: { + home.packages = with pkgs; [ # Build deps nodejs @@ -38,4 +39,35 @@ ]; }; }; + + # Ignore insecure package libolm following deprecation. + # See: https://matrix.org/blog/2024/08/libolm-deprecation/ + nixpkgs.config.permittedInsecurePackages = [ + "olm-3.2.16" + ]; + + # Also fix broken pytests for pantalaimon. + # See: https://github.com/NixOS/nixpkgs/issues/471407 + nixpkgs.overlays = [ + (final: prev: { + pantalaimon = prev.pantalaimon.overrideAttrs { + dontUsePytestCheck = "please dont"; + }; + }) + ]; + + services.pantalaimon = { + enable = true; + settings = { + Default = { + LogLevel = "debug"; + SSL = true; + }; + local-matrix = { + Homeserver = "https://matrix.org"; + ListenAddress = "127.0.0.1"; + ListenPort = 8008; + }; + }; + }; }