diff options
author | Emile <git@emile.space> | 2024-03-25 15:38:49 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2024-03-25 15:38:49 +0100 |
commit | 422ba043192c78e4385d34d15e7ec78147683f30 (patch) | |
tree | 1a1be5c9160443260d428df27c8291430a233e59 /nix/hosts | |
parent | 4671abedb76a04f83d31aceacd3a3a2764895ec6 (diff) |
removed znc
Diffstat (limited to 'nix/hosts')
-rw-r--r-- | nix/hosts/corrino/www/znc.emile.space.nix | 60 |
1 files changed, 0 insertions, 60 deletions
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; - }; -} |