From e8bbf64c5d21c0324f2dde4a0754128da688ff25 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Mon, 5 Dec 2022 12:18:04 +0000 Subject: irssi config --- nix-conf/home/edrahil.nix | 1 + nix-conf/home/includes/irssi.nix | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) (limited to 'nix-conf') 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 = { -- cgit 1.4.1-2-gfad0