universe/hosts/Infini-DL360/thelounge.nix

30 lines
579 B
Nix

{
config,
common,
pkgs,
...
}:
{
services.nginx.virtualHosts."thelounge.inx.moe" = common.nginx.ssl-inx // {
locations."/" = {
proxyPass = "http://localhost:${toString config.services.thelounge.port}";
};
};
services.thelounge = {
enable = true;
dataDir = "/srv/thelounge";
plugins = with pkgs.stable.theLoungePlugins; [
themes.zenburn-monospace
themes.dracula
themes.discordapp
];
port = 9786;
extraConfig = {
reverseProxy = true;
prefetch = true;
fileUpload.enable = true;
};
};
}