blob: 2c6932a14fae5eef2ec8ee2e1abbee5e209b197d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
config,
lib,
...
}: let
cfg = config.sils.iamb;
in {
options = {
sils.iamb.enable = lib.mkEnableOption "iamb, a matrix tui client";
};
config = lib.mkIf cfg.enable {
programs.iamb = {
enable = true;
settings = {
profiles = {
ljs = {
user_id = "@sils:linksjugend-solid.de";
url = "https://matrix.bak-it.de";
};
vhack = {
user_id = "@sils:vhack.eu";
url = "https://matrix.vhack.eu";
};
};
settings = {
notifications.enabled = true;
image_preview.protocol = {
type = "kitty";
size = {
height = 10;
width = 66;
};
};
};
};
};
};
}
|