hippocampus: irc web client (thelounge)

This commit is contained in:
2026-03-20 11:21:17 -04:00
parent 22d24b1ca4
commit 5e8ed76d47
2 changed files with 28 additions and 0 deletions

View File

@@ -59,5 +59,8 @@
# Dawarich location tracking # Dawarich location tracking
./public/dawarich.nix ./public/dawarich.nix
# IRC web-bouncer/client
./public/irc.nix
]; ];
} }

View File

@@ -0,0 +1,25 @@
{ config, pkgs, lib, ... }: {
services.thelounge = {
enable = true;
public = false;
port = 7797;
#plugins;
#package;
extraConfig = {
# Caddy RP
reverseProxy = true;
defaults = {
name = "Esper";
host = "irc.esper.net";
port = 6697;
};
};
};
services.caddy.virtualHosts = {
"irc.glia.club" = {
extraConfig = ''
reverse_proxy localhost:${toString config.services.thelounge.port}
'';
};
};
}