From a9a39cfe6684478e66232b5148798c873ce876ba Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 8 Jul 2023 10:42:25 -0700 Subject: add pantalaimon, a proxy for matrix This is so I can use emacs as a client for matrix. --- home/profiles/matrix.nix | 18 ++++++++++++++++++ hosts/aptos/home.nix | 1 + 2 files changed, 19 insertions(+) create mode 100644 home/profiles/matrix.nix diff --git a/home/profiles/matrix.nix b/home/profiles/matrix.nix new file mode 100644 index 0000000..bf85482 --- /dev/null +++ b/home/profiles/matrix.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: { + services.pantalaimon = { + enable = true; + settings = { + Default = { + LogLevel = "Debug"; + SSL = true; + }; + local-matrix = { + Homeserver = "https://matrix.kifla.be"; + ListenAddress = "localhost"; + ListenPort = 8009; + IgnoreVerification = false; + UseKeyring = false; + }; + }; + }; +} diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix index 7df0537..e4ce2ec 100644 --- a/hosts/aptos/home.nix +++ b/hosts/aptos/home.nix @@ -3,5 +3,6 @@ "${self}/home/profiles/home.nix" "${self}/home/profiles/workstation.nix" "${self}/home/profiles/sway.nix" + "${self}/home/profiles/matrix.nix" ]; } -- cgit v1.2.3