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