From 422ba043192c78e4385d34d15e7ec78147683f30 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 25 Mar 2024 15:38:49 +0100 Subject: removed znc --- nix/hosts/corrino/www/znc.emile.space.nix | 60 ------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 nix/hosts/corrino/www/znc.emile.space.nix (limited to 'nix') diff --git a/nix/hosts/corrino/www/znc.emile.space.nix b/nix/hosts/corrino/www/znc.emile.space.nix deleted file mode 100644 index 0ba0751..0000000 --- a/nix/hosts/corrino/www/znc.emile.space.nix +++ /dev/null @@ -1,60 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - services.nginx.virtualHosts."znc.emile.space" = { - forceSSL = true; - enableACME = true; - - locations."/".proxyPass = "http://127.0.0.1:5002"; - }; - - services.znc = { - enable = true; - mutable = true; - useLegacyConfig = false; - - openFirewall = false; - - modulePackages = with pkgs.zncModules; [ - clientbuffer - clientaway - playback - privmsg - ]; - - config = lib.mkMerge [ - ({ - Version = lib.getVersion pkgs.znc; - Listener = { - l = { Port = 5002; SSL = false; AllowWeb = true; }; - j = { Port = 5001; SSL = true; AllowWeb = false; }; - LoadModule = [ "webadmin" "adminlog" "playback" "privmsg" ]; - User = { - emile = { - Admin = true; - Nick = "hanemile"; - AltNick = "hanemile_"; - AutoClearChanBuffer = false; - AutoClearQueryBuffer = false; - LoadModule = [ - "clientbuffer autoadd" - "buffextras" - "clientaway" - ]; - Network = { - liberachat = { - Server = "irc.libera.char +6697"; - Nick = "hanemile"; - AltNick = "hanemile"; - JoinDelay = 2; - LoadModule = [ "simple_away" "nickserv" "cert"]; - }; - }; - }; - }; - }; - }) - ]; - configFile = config.age.secrets.znc-config.path; - }; -} -- cgit 1.4.1