ZNC: Difference between revisions
imported>Mth znc --makepass generates a hash, not a password |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 49: | Line 49: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
service.znc.config.User.bob = { | service.znc.config.User.bob = { | ||
Network.freenode = { | Network.freenode = { | ||
Server = "chat.freenode.net +6697 | Server = "chat.freenode.net +6697"; | ||
Chan = { "#nixos" = {}; "#nixos-wiki" = {}; }; | Chan = { "#nixos" = {}; "#nixos-wiki" = {}; }; | ||
Nick = "bob"; | Nick = "bob"; # Supply your password as an argument | ||
LoadModule = [ "nickserv" ]; | LoadModule = [ "nickserv yourpassword" ]; # <- to the nickserv module here. | ||
JoinDelay = 2; # Avoid joining channels before authenticating. | JoinDelay = 2; # Avoid joining channels before authenticating. | ||
}; | }; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Applications]] | |||