diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index 2bf471f..76b8817 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -26,7 +26,6 @@ ./tap.nix ./uptimestatus.nix ./wetter.nix - ./znc.nix ]; boot.loader.grub.enable = true; diff --git a/hosts/web-2/znc.nix b/hosts/web-2/znc.nix deleted file mode 100644 index fa6cb09..0000000 --- a/hosts/web-2/znc.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ ... }: - -{ - services.znc = { - enable = true; - mutable = true; - dataDir = "/var/lib/znc"; - configFile = "/var/lib/znc/configs/znc.conf"; - }; - - services.nginx.virtualHosts = { - "znc.clerie.de" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:1313"; - }; - }; - }; - - clerie.nginx-port-forward = { - enable = true; - tcpPorts."6697" = { - host = "127.0.0.1"; - port = 1311; - certName = "znc.clerie.de"; - }; - }; -}