aboutsummaryrefslogtreecommitdiff
path: root/user/home/iamb.nix
blob: 8966a1b9c94f3bcaffa850fedbce846b85bbe707 (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
{ config, lib, ... }:
{
  programs.iamb = {
    enable = lib.mkDefault false;
    settings = {
      default_profile = "personal";
      layout.style = "restore";
      macros.normal = {
        "<C-h>" = "gT";
        "<C-l>" = "gt";
      };

      profiles.personal.user_id = "@rosa:girlonthe.net";
      settings = {
        image_preview.protocol.type = "sixel";
        notifications = {
          enabled = true;
          via = "bell";
        };

        sort.rooms = [
          "favorite"
          "unread"
          "recent"
          "name"
        ];

        username_display = "displayname";
      };
    };
  };
}