2022-02-01 01:20:26 +00:00
|
|
|
{config, pkgs, lib, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.znc = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
useLegacyConfig = false;
|
|
|
|
|
|
|
|
config = {
|
|
|
|
LoadModule = [ "webadmin" ];
|
|
|
|
User.Mara = {
|
|
|
|
Admin = true;
|
|
|
|
Nick = "Mara";
|
|
|
|
RealName = "Mara the Sh0rk";
|
|
|
|
QuitMsg = "sh0rknap";
|
|
|
|
LoadModule = [ "chansaver" "controlpanel" ];
|
|
|
|
Pass.password = { # hunter2
|
|
|
|
Method = "sha256";
|
|
|
|
Hash =
|
2022-02-01 02:50:53 +00:00
|
|
|
"7ab28a482206bfe8f72b3e8d75fb513de0a7cb6382f2cb4817128de24b801a6f";
|
|
|
|
Salt = "oHoLmhoNEA61woJWaqS-";
|
2022-02-01 01:20:26 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|