summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple
diff options
context:
space:
mode:
authorKierán Meinhardt <kmein@posteo.de>2021-12-30 03:22:40 +0100
committerKierán Meinhardt <kmein@posteo.de>2021-12-30 03:22:40 +0100
commite652f40200e5d86240be8f6cea0b9d1ddbbd0ad6 (patch)
tree24632a6e1d39172dfd266cfd379c9976e74910e9 /krebs/5pkgs/simple
parent1b59fef50ac2570dda5ab6f6da1cb69c529cdc4b (diff)
weechat-declarative: fix example and filter generation
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r--krebs/5pkgs/simple/weechat-declarative/default.nix4
1 files changed, 2 insertions, 2 deletions
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"
];