nixos-config/configs/workhorse/weechat.nix

45 lines
873 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-10-24 02:20:38 +02:00
services.weechat = {
enable = true;
};
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
];
plugins = [
pkgs.bitlbee-facebook
pkgs.bitlbee-steam
];
};
2019-10-24 02:20:38 +02:00
# otherwise xterm is the only thing that works
environment.systemPackages = [ pkgs.rxvt_unicode ];
2019-11-17 20:57:17 +01:00
backup.all.restic.dirs = [
config.services.weechat.root
];
2019-10-24 02:20:38 +02:00
}