nix-config/configs/home-manager/tiny-irc.nix

48 lines
920 B
Nix
Raw Normal View History

{
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-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"
];
sasl = {
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;
};
}
];
defaults = {
# ignore join/leave messages
ignore = true;
nicks = ["toric"];
realname = "Gabe Venberg";
tls = true;
};
};
};
}