treewide: use liberachat and OFTC in examples

Freenode was taken over by a wannabe bitcoin millionaire [1], which
prompted the migration of communities to Libera Chat and OFTC [2].

[1] https://blog.bofh.it/debian/id_461
[2] https://hackaday.com/2021/05/20/freenode-debacle-prompts-staff-exodus-new-network/
This commit is contained in:
Mario Rodas 2022-12-03 04:20:00 +00:00 committed by Robert Helgesson
parent e3e2abaef5
commit 6ce326cef9
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
4 changed files with 10 additions and 14 deletions

View file

@ -170,7 +170,7 @@ let
servers = mkOption { servers = mkOption {
type = listOf str; type = listOf str;
default = [ ]; default = [ ];
example = [ "chat.freenode.net" "irc.freenode.net" ]; example = [ "irc.oftc.net" ];
description = "IRC Server Address List."; description = "IRC Server Address List.";
}; };
}; };
@ -239,11 +239,10 @@ in {
default = { }; default = { };
example = literalExpression '' example = literalExpression ''
{ {
freenode = { oftc = {
autojoin = [ autojoin = [
"#home-manager" "#home-manager"
"#linux" "#linux"
"#nixos"
]; ];
charset = "UTF-8 (Unicode)"; charset = "UTF-8 (Unicode)";
commands = [ commands = [
@ -263,8 +262,7 @@ in {
password = "my_password"; password = "my_password";
realName = "my_realname"; realName = "my_realname";
servers = [ servers = [
"chat.freenode.net" "irc.oftc.net"
"irc.freenode.net"
]; ];
userName = "my_username"; userName = "my_username";
}; };

View file

@ -185,10 +185,10 @@ in {
default = { }; default = { };
example = literalExpression '' example = literalExpression ''
{ {
freenode = { liberachat = {
nick = "hmuser"; nick = "hmuser";
server = { server = {
address = "chat.freenode.net"; address = "irc.libera.chat";
port = 6697; port = 6697;
autoConnect = true; autoConnect = true;
}; };

View file

@ -8,7 +8,7 @@ S=irc.mzima.net
S=irc.prison.net S=irc.prison.net
J=#computers J=#computers
N=freenode N=oftc
L=6 L=6
E=UTF-8 (Unicode) E=UTF-8 (Unicode)
F=12 F=12
@ -17,8 +17,6 @@ i=user_
R=real_user R=real_user
U=user U=user
P=password P=password
S=chat.freenode.net S=irc.oftc.net
S=irc.freenode.net
J=#home-manager J=#home-manager
J=#nixos

View file

@ -6,7 +6,7 @@
enable = true; enable = true;
overwriteConfigFiles = true; overwriteConfigFiles = true;
channels = { channels = {
freenode = { oftc = {
charset = "UTF-8 (Unicode)"; charset = "UTF-8 (Unicode)";
userName = "user"; userName = "user";
password = "password"; password = "password";
@ -18,8 +18,8 @@
autoconnect = true; autoconnect = true;
forceSSL = true; forceSSL = true;
}; };
servers = [ "chat.freenode.net" "irc.freenode.net" ]; servers = [ "irc.oftc.net" ];
autojoin = [ "#home-manager" "#nixos" ]; autojoin = [ "#home-manager" ];
}; };
efnet = { efnet = {
options = { forceSSL = true; }; options = { forceSSL = true; };