0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
1.2 KiB
1.2 KiB
WeeChat
WeeChat is a fast and extensible IRC client.
Basic Usage
By default, the module creates a
systemd
unit which runs the chat client in a detached
screen
session.
This can be done by enabling the weechat
service:
{ ... }:
{
services.weechat.enable = true;
}
The service is managed by a dedicated user named weechat
in the state directory /var/lib/weechat
.
Re-attaching to WeeChat
WeeChat runs in a screen session owned by a dedicated user. To explicitly
allow your another user to attach to this session, the
screenrc
needs to be tweaked by adding
multiuser
support:
{
programs.screen.screenrc = ''
multiuser on
acladd normal_user
'';
}
Now, the session can be re-attached like this:
screen -x weechat/weechat-screen
The session name can be changed using services.weechat.sessionName.