mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 23:29: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:
parent
9ad9dfe371
commit
7eee2b197a
4 changed files with 10 additions and 14 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
@ -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; };
|
||||||
|
|
Loading…
Reference in a new issue