hippocampus: irc web client (thelounge)
This commit is contained in:
@@ -59,5 +59,8 @@
|
||||
|
||||
# Dawarich location tracking
|
||||
./public/dawarich.nix
|
||||
|
||||
# IRC web-bouncer/client
|
||||
./public/irc.nix
|
||||
];
|
||||
}
|
||||
|
||||
25
machines/hippocampus/servers/public/irc.nix
Normal file
25
machines/hippocampus/servers/public/irc.nix
Normal 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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user