mirror of
https://github.com/nix-community/home-manager
synced 2024-12-19 08:19:48 +01:00
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
43 lines
454 B
Text
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";
|
|
}
|
|
|
|
);
|
|
|
|
|