59 lines
1.2 KiB
Nix
59 lines
1.2 KiB
Nix
{
|
|
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"
|
|
"#archlinux"
|
|
"#nixos"
|
|
"#neovim"
|
|
"##programming"
|
|
"##rust"
|
|
"#git"
|
|
"#kernel"
|
|
"#hardware"
|
|
"#lobsters"
|
|
"#gamingonlinux"
|
|
"##chat"
|
|
];
|
|
sasl = lib.mkIf (lib.hasAttrByPath ["sops" "secrets" "irc-cert"] config) {
|
|
username = "toric";
|
|
pem = config.sops.secrets.irc-cert.path;
|
|
};
|
|
}
|
|
{
|
|
addr = "mbrserver.com";
|
|
port = 6667;
|
|
tls = false;
|
|
nicks = ["toric"];
|
|
realname = "Toric";
|
|
join = [
|
|
"#general"
|
|
"#spellware"
|
|
];
|
|
}
|
|
];
|
|
defaults = {
|
|
# ignore join/leave messages
|
|
ignore = true;
|
|
nicks = ["toric"];
|
|
realname = "Gabe Venberg";
|
|
# tls = true;
|
|
};
|
|
};
|
|
};
|
|
}
|