Fix znc config, restore disabled options

This commit is contained in:
Evie Litherland-Smith 2024-05-19 11:38:41 +01:00
parent 4658d31f53
commit a84a1b7356

View file

@ -1,5 +1,5 @@
{config, ...}: {
# imports = [./caddy.nix];
imports = [./caddy.nix];
services.znc = {
enable = true;
mutable = false;
@ -16,17 +16,17 @@
Salt = "0vgs)x4KcEmGMK;56QVm";
};
Network = {
# liberachat = {
# Server = "irc.libera.chat +6697";
# Chan = {
# "#nixos" = {};
# "#nixos-wiki" = {};
# };
# JoinDelay = 2;
# };
liberachat = {
Server = "irc.libera.chat +6697";
Chan = {
"#nixos" = {};
"#nixos-wiki" = {};
};
JoinDelay = 2;
};
};
};
};
# services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
};
services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
}