summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Biz/Cloud/Znc.nix84
1 files changed, 49 insertions, 35 deletions
diff --git a/Biz/Cloud/Znc.nix b/Biz/Cloud/Znc.nix
index 9b1a28d..93ec86d 100644
--- a/Biz/Cloud/Znc.nix
+++ b/Biz/Cloud/Znc.nix
@@ -6,53 +6,67 @@ N.B.: generate znc passwords with 'nix-shell -p znc --command "znc --makepass"'
*/
-{ ... }:
+{ pkgs, lib, ... }:
{
services = {
znc = {
enable = true;
- mutable = false;
- useLegacyConfig = false;
openFirewall = true;
+ modulePackages = with pkgs.zncModules; [
+ #backlog clientaway clientbuffer
+ #ignore
+ ];
+ useLegacyConfig = false;
config = {
- LoadModule = [ "adminlog" ];
+ LoadModule = [ "adminlog" "sasl" ];
+ Motd = "welcome to znc.simatime.com";
User.bsima = {
Admin = true;
Nick = "bsima";
AltNick = "bsima1";
- LoadModule = [ "chansaver" "controlpanel" "log" ];
- Network.freenode = {
- Server = "chat.freenode.net +6697";
- LoadModule = [ "simple_away" "nickserv" "sasl" ];
- Chan = {
- "#ai" = {};
- "#biz" = { Modes = "+Sp"; };
- "#bsima" = { Modes = "+Sp"; };
- "##categorytheory" = { Detached = true; };
- "#clojure" = { Detached = true; };
- "#coq" = { Detached = true; };
- "#emacs" = { Detached = true; };
- "#guile" = { Detached = true; };
- "#guix" = { Detached = true; };
- "#haskell" = {};
- "#haskell-miso" = { Detached = true; };
- "#hledger" = {};
- "#hnix" = { Detached = true; };
- "#home-manager" = { Detached = true; };
- "#ledger" = {};
- "#nix-darwin" = { Detached = true; };
- "#nixos" = {};
- "#org-mode" = {};
- "#scheme" = { Detached = true; };
- "#servant" = { Detached = true; };
- "#sr.ht" = { Detached = true; };
- "#xmonad" = { Detached = true; };
+ LoadModule = [ "chansaver" "controlpanel" "log" "sasl" ];
+ Network = {
+ freenode = {
+ Server = "chat.freenode.net +6697";
+ Nick = "bsima";
+ LoadModule = [ "simple_away" "nickserv" "sasl" ];
+ Chan = {
+ "#ai" = {};
+ "#haskell-miso" = { Detached = true; };
+ "#home-manager" = { Detached = true; };
+ "#servant" = { Detached = true; };
+ };
};
- };
- Network.efnet = {
- Server = "irc.efnet.info +6697";
- LoadModule = [ "simple_away" ];
+ #efnet = {
+ # Server = "irc.efnet.info +6697";
+ # LoadModule = [ "simple_away" ];
+ #};
+ libera = {
+ Server = "irc.libera.chat +6697";
+ LoadModule = [ "simple_away" "nickserv" "sasl" ];
+ Nick = "bsima";
+ Chan = {
+ "#emacs" = { Detached = true; };
+ "#guile" = {};
+ "#guix" = { Detached = true; };
+ "#haskell" = {};
+ "#hledger" = {};
+ "#nixos" = {}; # probably defunct
+ "#notmuch" = { Detached = true; };
+ "#org-mode" = { Detached = true; };
+ "#scheme" = { Detached = true; };
+ "#sr.ht" = { Detached = true; };
+ "#xmonad" = { Detached = true; };
+ };
+ };
+ #oftc = {
+ # Server = "irc.oftc.net +6697";
+ # LoadModule = [ "simple_away" "nickserv" ];
+ #};
+ #sorcery = {
+ # Server = "irc.sorcery.net +6697";
+ #};
};
Pass.password = {
Method = "sha256";