about summary refs log tree commit diff
path: root/home/matrix-client
diff options
context:
space:
mode:
Diffstat (limited to 'home/matrix-client')
-rw-r--r--home/matrix-client/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/matrix-client/default.nix b/home/matrix-client/default.nix
new file mode 100644
index 0000000..a5a420f
--- /dev/null
+++ b/home/matrix-client/default.nix
@@ -0,0 +1,15 @@
+{ lib, config, pkgs, ... }:
+let cfg = config.my.home.matrix-client;
+in
+{
+  options.my.home.matrix-client = with lib; {
+    enable = mkEnableOption "matrix client configuration";
+  };
+
+  # https://gitlab.gnome.org/GNOME/fractal
+  # fractal-next is a GTK4 client for matrix, using the
+  # matrix-rust-sdk. I used to use element, an electron application,
+  # and it had a number of issues (freeze, crash, heavy, ...).
+  config =
+    lib.mkIf cfg.enable { home.packages = with pkgs; [ fractal-next ]; };
+}