2024-03-31 01:43:52 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
programs.tiny = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
servers = [
|
|
|
|
{
|
|
|
|
addr = "irc.libera.chat";
|
|
|
|
port = 6697;
|
|
|
|
tls = true;
|
|
|
|
realname = "Gabe Venberg";
|
|
|
|
nicks = ["toric"];
|
|
|
|
join = [
|
|
|
|
"#libera"
|
|
|
|
"#linux"
|
2024-04-17 20:11:02 +02:00
|
|
|
"#archlinux"
|
|
|
|
"#nixos"
|
|
|
|
"#neovim"
|
2024-04-01 00:58:48 +02:00
|
|
|
"##programming"
|
|
|
|
"##rust"
|
2024-12-02 17:59:26 +01:00
|
|
|
"#zig"
|
2024-03-31 23:23:56 +02:00
|
|
|
"#git"
|
|
|
|
"#kernel"
|
2024-04-01 00:58:48 +02:00
|
|
|
"#hardware"
|
|
|
|
"#lobsters"
|
2024-03-31 23:23:56 +02:00
|
|
|
"#gamingonlinux"
|
2024-04-17 20:11:02 +02:00
|
|
|
"##chat"
|
2024-03-31 01:43:52 +01:00
|
|
|
];
|
2024-06-12 21:40:04 +02:00
|
|
|
sasl = lib.mkIf (lib.hasAttrByPath ["sops" "secrets" "irc-cert"] config) {
|
2024-03-31 23:23:56 +02:00
|
|
|
username = "toric";
|
2024-06-04 18:00:43 +02:00
|
|
|
pem = config.sops.secrets.irc-cert.path;
|
2024-03-31 01:43:52 +01:00
|
|
|
};
|
|
|
|
}
|
2024-11-13 13:23:01 +01:00
|
|
|
{
|
|
|
|
addr = "mbrserver.com";
|
|
|
|
port = 6667;
|
|
|
|
tls = false;
|
|
|
|
nicks = ["toric"];
|
|
|
|
realname = "Toric";
|
|
|
|
join = [
|
|
|
|
"#general"
|
|
|
|
"#spellware"
|
|
|
|
];
|
|
|
|
}
|
2024-03-31 01:43:52 +01:00
|
|
|
];
|
|
|
|
defaults = {
|
2024-04-18 21:53:20 +02:00
|
|
|
# ignore join/leave messages
|
|
|
|
ignore = true;
|
2024-03-31 01:43:52 +01:00
|
|
|
nicks = ["toric"];
|
|
|
|
realname = "Gabe Venberg";
|
2024-11-13 13:23:01 +01:00
|
|
|
# tls = true;
|
2024-03-31 01:43:52 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-05-31 19:01:32 +02:00
|
|
|
}
|