nixos-config/nixos/configs/workhorse/weechat.nix

39 lines
862 B
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ config, pkgs, lib, ... }:
# how to setup a relay
# * ssh on the maching
# * sudo -u weechat screen -r
# /set relay.network.password "mypassword"
# /relay add weechat 10000
{
2019-11-17 20:57:17 +01:00
# configure weechat
2019-12-20 05:54:26 +01:00
services.weechat = { enable = true; };
2019-10-24 02:20:38 +02:00
2019-11-17 20:57:17 +01:00
# configure bitlbee
services.bitlbee = {
enable = true;
libpurple_plugins = [
#pkgs.pidgin-otr
#pkgs.purple-facebook
#pkgs.purple-discord
#pkgs.purple-matrix
#pkgs.purple-hangouts
#pkgs.pidgin-latex
#pkgs.pidgin-opensteamworks
#pkgs.pidgin-skypeweb
pkgs.telegram-purple
#pkgs.purple-lurch
];
2020-04-27 21:41:29 +02:00
plugins =
[ pkgs.bitlbee-facebook pkgs.bitlbee-steam pkgs.bitlbee-mastodon ];
2019-11-17 20:57:17 +01:00
};
2019-10-24 02:20:38 +02:00
# otherwise xterm is the only thing that works
environment.systemPackages = [ pkgs.rxvt_unicode ];
2020-09-04 00:49:35 +02:00
backup.dirs = [ config.services.weechat.root ];
2019-10-24 02:20:38 +02:00
}