From e652f40200e5d86240be8f6cea0b9d1ddbbd0ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 30 Dec 2021 03:22:40 +0100 Subject: weechat-declarative: fix example and filter generation --- krebs/5pkgs/simple/weechat-declarative/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs/5pkgs/simple/weechat-declarative/default.nix') diff --git a/krebs/5pkgs/simple/weechat-declarative/default.nix b/krebs/5pkgs/simple/weechat-declarative/default.nix index dceb7a8d0..e6ecfd631 100644 --- a/krebs/5pkgs/simple/weechat-declarative/default.nix +++ b/krebs/5pkgs/simple/weechat-declarative/default.nix @@ -26,7 +26,7 @@ let setCommand = name: value: "/set ${name} \"${toWeechatValue value}\""; filterAddreplace = name: filter: - "/filter addreplace ${name} ${filter.buffer} ${lib.concatStringsSep "," filter.tags} ${filter.regex}"; + "/filter addreplace ${name} ${filter.buffer} ${toWeechatValue filter.tags} ${filter.regex}"; }; cfg = eval.config; @@ -65,7 +65,7 @@ let autojoin = [ "#krebs" ]; }; weechat.bar.buflist.hidden = true; - irc.server.hackint.command = lib.concatStringsSep ";" [ + irc.server.hackint.command = lib.concatStringsSep "\\;" [ "/msg nickserv IDENTIFY \\\${sec.data.hackint_password}" "/msg nickserv SET CLOAK ON" ]; -- cgit v1.2.3