1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

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/

(cherry picked from commit 6ce326cef9)
This commit is contained in:
Mario Rodas 2022-12-03 04:20:00 +00:00 committed by Robert Helgesson
parent 9ad9dfe371
commit 7eee2b197a
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 {
type = listOf str;
default = [ ];
example = [ "chat.freenode.net" "irc.freenode.net" ];
example = [ "irc.oftc.net" ];
description = "IRC Server Address List.";
};
};
@ -239,11 +239,10 @@ in {
default = { };
example = literalExpression ''
{
freenode = {
oftc = {
autojoin = [
"#home-manager"
"#linux"
"#nixos"
];
charset = "UTF-8 (Unicode)";
commands = [
@ -263,8 +262,7 @@ in {
password = "my_password";
realName = "my_realname";
servers = [
"chat.freenode.net"
"irc.freenode.net"
"irc.oftc.net"
];
userName = "my_username";
};

View file

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

View file

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

View file

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