diff --git a/modules/home/iamb.nix b/modules/home/iamb.nix index 6ba508e..531db2c 100644 --- a/modules/home/iamb.nix +++ b/modules/home/iamb.nix @@ -1,9 +1,45 @@ +{ pkgs, inputs, ... }: { programs.iamb = { enable = true; + package = inputs.iamb.packages.${pkgs.stdenv.hostPlatform.system}.default; settings = { - profiles.user.user_id = "@liv:liv.town"; + profiles.user = { + user_id = "@liv:liv.town"; + layout.style = "restore"; + }; + typing_notice_send = false; + typing_notice_display = true; + reaction_display = true; + read_receipt_send = false; + read_receipt_display = false; + sort = { + chats = [ + "favorite" + "recent" + "unread" + "name" + ]; + members = [ + "power" + "id" + ]; + }; + macros.normal = { + ";" = ":"; + gc = ":chats"; + gr = ":rooms"; + gs = ":spaces"; + gu = ":unreads"; + uc = ":unreads clear"; + r = ":reply"; + mq = ":cancely"; + me = ":editor"; + J = ":tabpreviousy"; + K = ":tabnext"; + }; notifications.enabled = false; + username_display = "displayname"; image_preview = { protocol.type = "kitty"; protocol.size = { @@ -11,7 +47,6 @@ width = 66; }; }; - username_display = "displayname"; }; }; }