about summary refs log tree commit diff
path: root/machines/profpatsch/legosi.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-06-19 02:59:03 +0200
committerProfpatsch <mail@profpatsch.de>2020-06-19 02:59:26 +0200
commit1ce91198e8692f98425205c3e1d2d4e8ceb41539 (patch)
treeb01152e21c4a35f61547d6829260ef8d3637a47a /machines/profpatsch/legosi.nix
parentb8a5df7611623e8cec098db41c5ff3b221e0d4f3 (diff)
modules/user/profpatsch/services: add bitlbee
Also add the service to legosi so I can use it from the weechat user.
Diffstat (limited to 'machines/profpatsch/legosi.nix')
-rw-r--r--machines/profpatsch/legosi.nix14
1 files changed, 3 insertions, 11 deletions
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;
     };
   };
 }