about summary refs log tree commit diff
path: root/machines/profpatsch/legosi.nix
diff options
context:
space:
mode:
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;
     };
   };
 }