aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-07-08 10:42:25 -0700
committerFranck Cuny <franck@fcuny.net>2023-07-08 10:42:25 -0700
commita9a39cfe6684478e66232b5148798c873ce876ba (patch)
tree52ec3cb883d5dd56c7053da32e4a4534e32d7191
parentupdate settings for nixos 23.05 (diff)
downloadinfra-a9a39cfe6684478e66232b5148798c873ce876ba.tar.gz
add pantalaimon, a proxy for matrix
This is so I can use emacs as a client for matrix.
Diffstat (limited to '')
-rw-r--r--home/profiles/matrix.nix18
-rw-r--r--hosts/aptos/home.nix1
2 files changed, 19 insertions, 0 deletions
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"
];
}