Infini-SERVER: transfer thelounge to Infini-OPTIPLEX
This commit is contained in:
parent
d9268c13ff
commit
cbcccd3d02
5 changed files with 25 additions and 25 deletions
23
hosts/Infini-OPTIPLEX/thelounge.nix
Normal file
23
hosts/Infini-OPTIPLEX/thelounge.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue