diff options
| author | Grigory Shipunov | 2025-01-02 15:35:05 +0000 |
|---|---|---|
| committer | Grigory Shipunov | 2025-01-02 15:35:05 +0000 |
| commit | c1e09364bb412f1e09d1a680e5200d375a61694f (patch) | |
| tree | a2f5cbc73043afb46a7d1d23864299b82e32449a /hosts/cirrus/irc.nix | |
| parent | cd63ec45b8776bebc4014efb9990b364e0afb443 (diff) | |
remove obsolete infra
Diffstat (limited to 'hosts/cirrus/irc.nix')
| -rw-r--r-- | hosts/cirrus/irc.nix | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/hosts/cirrus/irc.nix b/hosts/cirrus/irc.nix deleted file mode 100644 index 6bda646..0000000 --- a/hosts/cirrus/irc.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ pkgs, config, ... }: { - services.nginx = { - # reverse-proxy irc traffic on 7000 - streamConfig = '' - upstream soju { - server 127.0.0.1:6667; - } - - server { - listen 7000 ssl; - listen [::]:7000 ssl; - - ssl_certificate /var/lib/acme/mrbouncy.oxapentane.com/fullchain.pem; - ssl_certificate_key /var/lib/acme/mrbouncy.oxapentane.com/key.pem; - ssl_trusted_certificate /var/lib/acme/mrbouncy.oxapentane.com/chain.pem; - - proxy_pass soju; - } - ''; - # just here to get the cert for irc reverse proxy - virtualHosts = { - "mrbouncy.oxapentane.com" = { - enableACME = true; - forceSSL = true; - locations = { - "/" = { - # no content for now, here just for no-boilerplate cert - return = "204"; - }; - }; - }; - }; - }; - - services.soju = { - hostName = "mrbouncy.oxapentane.com"; - listen = [ "irc+insecure://127.0.0.1:6667" ]; - enable = true; - enableMessageLogging = true; - acceptProxyIP = [ "localhost" ]; - }; - - environment.systemPackages = [ pkgs.soju ]; # expose soju mgmt commands - - networking.firewall.allowedTCPPorts = [ 7000 ]; -} |
