stockholm/lass/2configs/bitlbee.nix

33 lines
646 B
Nix
Raw Normal View History

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
];
libpurple_plugins = [
2021-12-01 15:44:42 +00:00
pkgs.telegram-purple
# pkgs.tdlib-purple
# 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
}