blob: 7a790edc61bee151cf45fd0037d372bcbec3dbcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ ... }:
{
services.nginx.virtualHosts."znc.emile.space" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://127.0.0.1:5000";
};
};
};
services.znc = {
enable = true;
openFirewall = true;
useLegacyConfig = false;
config = {
LoadModule = [ ];
User.Emile = {
Admin = true;
Nick = "hanemile";
RealName = "Emile";
# QuitMsg = "iowait()";
LoadModule = [ "chansaver" "controlpanel" ];
Network.libera = {
Server = "irc.libera.chat +6697";
LoadModule = [ "simple_away" ];
Chan = {
"#nixos" = { Detached = false; };
"##linux" = { Disabled = true; };
};
};
Pass.password = { # hunter2
Method = "sha256";
Hash =
"31357a874d929871b7c2267721501aaa1f3c570ddc72eb6fb6d065fe72dbc2e4";
Salt = "Oo1du8jahquataexai6Eiph9OcohpoL3";
};
};
};
};
}
|