2018-05-21 06:25:53 +00:00
|
|
|
with (import <stockholm/lib>);
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.bitlbee = {
|
|
|
|
enable = true;
|
|
|
|
portNumber = 6666;
|
|
|
|
plugins = [
|
|
|
|
pkgs.bitlbee-facebook
|
|
|
|
pkgs.bitlbee-steam
|
|
|
|
pkgs.bitlbee-discord
|
|
|
|
];
|
2021-01-23 21:29:43 +00:00
|
|
|
libpurple_plugins = [
|
2022-05-29 17:53:56 +00:00
|
|
|
# pkgs.telegram-purple
|
2021-12-01 15:44:42 +00:00
|
|
|
# pkgs.tdlib-purple
|
2021-01-23 21:29:43 +00:00
|
|
|
# pkgs.purple-gowhatsapp
|
|
|
|
];
|
2018-05-21 06:25:53 +00:00
|
|
|
};
|
2021-12-01 15:44:42 +00:00
|
|
|
|
|
|
|
users.users.bitlbee = {
|
|
|
|
uid = genid_uint31 "bitlbee";
|
|
|
|
isSystemUser = true;
|
|
|
|
group = "bitlbee";
|
|
|
|
};
|
|
|
|
users.groups.bitlbee = {};
|
|
|
|
|
|
|
|
systemd.services.bitlbee.serviceConfig = {
|
|
|
|
DynamicUser = lib.mkForce false;
|
|
|
|
User = "bitlbee";
|
|
|
|
StateDirectory = lib.mkForce null;
|
|
|
|
};
|
2018-05-21 06:25:53 +00:00
|
|
|
}
|