Infini-SERVER: transfer thelounge to Infini-OPTIPLEX

This commit is contained in:
Infinidoge 2024-02-01 20:37:02 -05:00
parent d9268c13ff
commit cbcccd3d02
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
5 changed files with 25 additions and 25 deletions

View file

@ -3,6 +3,7 @@
./hardware-configuration.nix
./filesystems.nix
./thelounge.nix
./vaultwarden.nix
];

View file

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