about summary refs log tree commit diff stats
path: root/nix-conf/home
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-12-05 12:18:04 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-12-05 12:18:04 +0000
commite8bbf64c5d21c0324f2dde4a0754128da688ff25 (patch)
treeccb2fce43882a1dcbd204b5479454832af1c137d /nix-conf/home
parent22a857fc225def8e626e3b52838a59e617d92632 (diff)
downloaddotfiles-e8bbf64c5d21c0324f2dde4a0754128da688ff25.tar.gz
irssi config
Diffstat (limited to 'nix-conf/home')
-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 = {