afb5fd962c
* irssi: add ssl_cert option for servers I was following these instructions https://www.oftc.net/NickServ/CertFP/ and found that the `/server add -ssl_cert` option was needed. This patch therefore adds an optional `programs.irssi.networks.<name>.server.ssl.certificateFile` path. Perhaps this could also be done with a `settings` attribute, but that would probably require most of this module to be reworked. * irsii: Add example-settings test case
44 lines
454 B
Plaintext
44 lines
454 B
Plaintext
settings = {
|
|
core = {
|
|
settings_autosave = "no";
|
|
};
|
|
};
|
|
|
|
aliases = {
|
|
|
|
};
|
|
|
|
chatnets = {
|
|
oftc = {
|
|
type = "IRC";
|
|
nick = "nick";
|
|
autosendcmd = "";
|
|
};
|
|
|
|
};
|
|
|
|
servers = (
|
|
{
|
|
chatnet = "oftc";
|
|
address = "irc.oftc.net";
|
|
port = "6697";
|
|
use_ssl = "yes";
|
|
ssl_verify = "yes";
|
|
autoconnect = "yes";
|
|
ssl_cert = "/home/hm-user/.irssi/certs/nick.pem";
|
|
|
|
}
|
|
|
|
);
|
|
|
|
channels = (
|
|
{
|
|
chatnet = "oftc";
|
|
name = "home-manager";
|
|
autojoin = "yes";
|
|
}
|
|
|
|
);
|
|
|
|
|