1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 03:09:47 +01:00
home-manager/tests/modules/programs/irsii/example-settings-expected.config
Rodney Lorrimar afb5fd962c
irssi: add ssl_cert option for servers (#2043)
* 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
2021-06-06 15:31:25 -06:00

43 lines
454 B
Text

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";
}
);