summaryrefslogtreecommitdiff
path: root/depo/nutin-madaj
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-23 18:11:59 -0700
committerBen Sima <ben@bsima.me>2019-05-23 18:11:59 -0700
commit32dac801863cc626ae0a69609428e7bd1ee268ca (patch)
tree6b6732e7bafe9e871a5f973ebfd4a99caa5be218 /depo/nutin-madaj
parent9e39e67e1571dd834bd5ca63021fafe2038b5053 (diff)
remove custom listener and fix mutable flag
Diffstat (limited to 'depo/nutin-madaj')
-rw-r--r--depo/nutin-madaj/znc.nix14
1 files changed, 2 insertions, 12 deletions
diff --git a/depo/nutin-madaj/znc.nix b/depo/nutin-madaj/znc.nix
index f16a572..ea97161 100644
--- a/depo/nutin-madaj/znc.nix
+++ b/depo/nutin-madaj/znc.nix
@@ -10,24 +10,14 @@ N.B.: generate znc passwords with 'nix-shell -p znc --command "znc --makepass"'
services = {
znc = {
enable = true;
- mutable = true;
+ mutable = false;
useLegacyConfig = false;
openFirewall = true;
config = {
LoadModule = [ "adminlog" ];
- Listener.l = {
- AllowIRC = true;
- AllowWeb = true;
- Host = "localhost";
- Port = 5000;
- IPv4 = true;
- IPv6 = true;
- SSL = false; # FIXME
- URIPrefix = "/znc/";
- };
User.bsima = {
Admin = true;
- Nick = "bsima";
+ Nick = "bsima";
AltNick = "bsima1";
LoadModule = [ "chansaver" "controlpanel" ];
Network.freenode = { Server = "chat.freenode.net +6697";