From 1ce91198e8692f98425205c3e1d2d4e8ceb41539 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 19 Jun 2020 02:59:03 +0200 Subject: modules/user/profpatsch/services: add bitlbee Also add the service to legosi so I can use it from the weechat user. --- machines/profpatsch/legosi.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'machines/profpatsch/legosi.nix') diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 42415029..fd579adb 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -49,18 +49,10 @@ in { enable = true; authorizedKeys = [ myKey ]; }; + users.users.weechat.extraGroups = [ "bitlbee" ]; - services.bitlbee = { - enable = true; - authBackend = "storage"; - # TODO: use a unix socket shared between the weechat and bitlbee - # So that I can leave this open and only the weechat can connect. - authMode = "Open"; - hostName = hostname; - interface = "127.0.0.1"; - libpurple_plugins = []; - # documented example file: https://github.com/bitlbee/bitlbee/blob/master/bitlbee.conf - protocols = "jabber"; + vuizvui.services.profpatsch.bitlbee = { + enable = true; }; }; } -- cgit 1.4.1