about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/edrahil.nix1
-rw-r--r--nix-conf/home/includes/irssi.nix22
2 files changed, 22 insertions, 1 deletions
diff --git a/nix-conf/home/edrahil.nix b/nix-conf/home/edrahil.nix
index 3e39dd3..1db7be3 100644
--- a/nix-conf/home/edrahil.nix
+++ b/nix-conf/home/edrahil.nix
@@ -2,6 +2,7 @@
 {
   imports = [ 
     ./includes/linux-server.nix
+    ./includes/irssi.nix
   ];
 
   # Let Home Manager install and manage itself.
diff --git a/nix-conf/home/includes/irssi.nix b/nix-conf/home/includes/irssi.nix
index 04f8e28..e7d292c 100644
--- a/nix-conf/home/includes/irssi.nix
+++ b/nix-conf/home/includes/irssi.nix
@@ -73,6 +73,7 @@
     networks = {
       libera = {
         nick = "djm";
+        saslExternal = true;
         server = {
           address = "irc.libera.chat";
           port = 6697;
@@ -92,6 +93,7 @@
       };
       tilde = {
         nick = "djm";
+        saslExternal = true;
         server = {
           address = "irc.tilde.chat";
           port = 6697;
@@ -110,9 +112,26 @@
           team.autoJoin = true;
         };
       };
+      oftc = {
+        nick = "djm";
+        server = {
+          address = "irc.oftc.net";
+          port = 6697;
+          autoConnect = true;
+          ssl = {
+            enable = true;
+            verify = true;
+            certificateFile = "${config.home.homeDirectory}/.irssi/oftc.pem";
+          };
+        };
+        channels = {
+          home-manager.autoJoin = true;
+        };
+      };
       blinkenirc = {
         nick = "djm";
         autoCommands = [ "msg chanserv invite #blinkenshell.op" "wait 2000" ];
+        saslExternal = true;
         server = {
           address = "irc.blinkenshell.org";
           port = 6697;
@@ -130,6 +149,7 @@
       };
       hashbang = {
         nick = "djm";
+        saslExternal = true;
         server = {
           address = "irc.hashbang.sh";
           port = 6697;
@@ -141,7 +161,7 @@
           };
         };
         channels = {
-          "!".autoJoin = true;
+          "#!".autoJoin = true;
         };
       };
       refchat = {