blob: a5a420fded4e2d3717c9eb6d28c3cb68dceb6068 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 ]; };
}
|