From e2b561508db0d6304049e679cca1de6d47bc6d13 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 2 Oct 2020 13:47:25 +0300 Subject: [PATCH] Remove weechat-matrix --- modules/applications/weechat.nix | 68 +------------------------------- 1 file changed, 1 insertion(+), 67 deletions(-) diff --git a/modules/applications/weechat.nix b/modules/applications/weechat.nix index 5f2c387..6f67bdd 100644 --- a/modules/applications/weechat.nix +++ b/modules/applications/weechat.nix @@ -1,17 +1,8 @@ { pkgs, lib, config, inputs, ... }: let - weechat-matrix = pkgs.weechatScripts.weechat-matrix.overrideAttrs (_: { - src = pkgs.fetchzip { - url = "https://github.com/poljar/weechat-matrix/archive/master.tar.gz"; - sha256 = "sha256-zYq68dl9nlHflsVrbg32KNNa/P3otEfvZrUTuD3ahT0="; - }; - }); weechat = pkgs.weechat.override { configure = { availablePlugins, ... }: { - scripts = [ pkgs.weechatScripts.wee-slack weechat-matrix ]; - plugins = [ - (availablePlugins.python.withPackages (ps: [ weechat-matrix ])) - ]; + scripts = [ pkgs.weechatScripts.wee-slack ]; }; }; in { @@ -69,63 +60,6 @@ in { python.slack.unhide_buffers_with_activity = "false" ''; - home.file.".weechat/matrix.conf".text = '' - [network] - autoreconnect_delay_growing = 2 - autoreconnect_delay_max = 600 - debug_buffer = off - debug_category = all - debug_level = error - fetch_backlog_on_pgup = on - lag_min_show = 500 - lag_reconnect = 90 - lazy_load_room_users = off - max_backlog_sync_events = 10 - max_initial_sync_events = 30 - max_nicklist_users = 5000 - print_unconfirmed_messages = on - read_markers_conditions = "''${markers_enabled}" - resending_ignores_devices = on - typing_notice_conditions = "''${typing_enabled}" - - [look] - bar_item_typing_notice_prefix = "Typing: " - busy_sign = "⏳" - code_block_margin = 2 - code_blocks = on - disconnect_sign = "❌" - encrypted_room_sign = "🔐" - encryption_warning_sign = "⚠️ " - human_buffer_names = on - max_typing_notice_item_length = 50 - new_channel_position = none - pygments_style = "native" - redactions = strikethrough - server_buffer = merge_with_core - - [color] - error_message_bg = default - error_message_fg = darkgray - quote_bg = darkgray - quote_fg = lightgreen - unconfirmed_message_bg = default - unconfirmed_message_fg = darkgray - untagged_code_bg = darkgray - untagged_code_fg = blue - - [server] - balsoft.address = "matrix.balsoft.ru" - balsoft.autoconnect = "on" - balsoft.autoreconnect_delay = "10" - balsoft.device_name = "Weechat" - balsoft.password = "${if ! isNull config.secrets.matrix.password then config.secrets.matrix.password else ""}" - balsoft.port = "443" - balsoft.proxy = "" - balsoft.ssl_verify = "on" - balsoft.sso_helper_listening_port = "0" - balsoft.username = "${if ! isNull config.secrets.matrix.user then config.secrets.matrix.user else ""}" - ''; - home.file.".weechat/weechat.conf".text = '' # # weechat -- weechat.conf