mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-19 05:39:34 +01:00
16 lines
489 B
Nix
16 lines
489 B
Nix
{config, ...}: {
|
|
|
|
services.znc = {
|
|
enable = true;
|
|
mutable = false; # Overwrite configuration set by ZNC from the web and chat interfaces.
|
|
useLegacyConfig = false; # Turn off services.znc.confOptions and their defaults.
|
|
openFirewall = true; # ZNC uses TCP port 5000 by default.
|
|
config = {
|
|
Listener = {
|
|
"Motd" = "welcome to hypervirtual's irc bouncer - using znc";
|
|
"SSLProtocols" = "-SSLv2 -SSLv3 -TLSv1 +TLSv1.1 +TLSv1.2";
|
|
};
|
|
};
|
|
};
|
|
}
|