diff options
author | Ben Sima <ben@bsima.me> | 2020-11-16 11:47:36 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-11-16 11:47:36 -0500 |
commit | 656816ed9af6277bbeb1c5e74471bace3a78e5be (patch) | |
tree | 8d9b28d4a804fdb258f17b32e675bf9a4dcf8a98 /Biz/Cloud/Znc.nix | |
parent | eb3ee6f1867eb19d2a262826038b2615b3def762 (diff) |
get build working and capitalize more files
Diffstat (limited to 'Biz/Cloud/Znc.nix')
-rw-r--r-- | Biz/Cloud/Znc.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/Biz/Cloud/Znc.nix b/Biz/Cloud/Znc.nix new file mode 100644 index 0000000..9b1a28d --- /dev/null +++ b/Biz/Cloud/Znc.nix @@ -0,0 +1,66 @@ +/* + +N.B.: generate znc passwords with 'nix-shell -p znc --command "znc --makepass"' + +- https://wiki.znc.in/Configuration + +*/ + +{ ... }: + +{ + services = { + znc = { + enable = true; + mutable = false; + useLegacyConfig = false; + openFirewall = true; + config = { + LoadModule = [ "adminlog" ]; + 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; }; + }; + }; + Network.efnet = { + Server = "irc.efnet.info +6697"; + LoadModule = [ "simple_away" ]; + }; + Pass.password = { + Method = "sha256"; + Hash = "bead16d806e7bf5cbbc31d572b20f01e2b253eb60e2497ce465df56306becd02"; + Salt = "/GhmBMc+E6b7qd8muFEe"; + }; + }; + }; + }; + }; +} |