29 lines
670 B
Nix
29 lines
670 B
Nix
{...}: {
|
|
services.znc = {
|
|
enable = true;
|
|
mutable = false;
|
|
useLegacyConfig = false;
|
|
openFirewall = true;
|
|
config = {
|
|
LoadModule = ["adminlog"];
|
|
Listener.l = {Port = 6697;};
|
|
User.pixelifytica = {
|
|
Admin = true;
|
|
Pass.password = {
|
|
Method = "sha256";
|
|
Hash = "9a7b4015ad167675613a26426942ede48a8f6a771d2ca546cf72a328abdea7e0";
|
|
Salt = "0vgs)x4KcEmGMK;56QVm";
|
|
};
|
|
Network = {
|
|
liberachat = {
|
|
Server = "irc.libera.chat +6697";
|
|
Nick = "pixelifytica";
|
|
Chan = {};
|
|
JoinDelay = 2;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|