about summary refs log tree commit diff
path: root/nix/hosts/corrino/www
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-03-25 15:38:49 +0100
committerEmile <git@emile.space>2024-03-25 15:38:49 +0100
commit422ba043192c78e4385d34d15e7ec78147683f30 (patch)
tree1a1be5c9160443260d428df27c8291430a233e59 /nix/hosts/corrino/www
parent4671abedb76a04f83d31aceacd3a3a2764895ec6 (diff)
removed znc
Diffstat (limited to 'nix/hosts/corrino/www')
-rw-r--r--nix/hosts/corrino/www/znc.emile.space.nix60
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;
-  };
-}