nix-config/modules/home-manager/terminal/tiny-irc.nix

47 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-01 00:58:48 +02:00
"##programming"
"##rust"
"#nixos"
2024-03-31 23:23:56 +02:00
"#git"
"#neovim"
"#kernel"
2024-04-01 00:58:48 +02:00
"#hardware"
"#lobsters"
2024-03-31 23:23:56 +02:00
"#gamingonlinux"
];
sasl = {
2024-03-31 23:23:56 +02:00
username = "toric";
# password = {
# command = "pass show libera";
# };
pem = "${config.home.homeDirectory}/keys/certs/irc.pem";
};
}
];
defaults = {
nicks = ["toric"];
realname = "Gabe Venberg";
tls = true;
};
};
};
}