Add thelounge again

main
Ashelyn Dawn 4 months ago
parent 79c1a2f491
commit c92bbebe25
No known key found for this signature in database
GPG Key ID: D1980B8C6F349BC1

@ -62,7 +62,7 @@
./hosts/nyx/include/services.nix
./hosts/nyx/include/proxy.nix
./hosts/nyx/include/seance.nix
./hosts/nyx/include/pounce.nix
./hosts/nyx/include/irc.nix
];
};

@ -52,4 +52,42 @@
};
};
};
config.services.thelounge = {
enable = true;
port = 9000;
plugins = [
pkgs.theLoungePlugins.themes.solarized
pkgs.theLoungePlugins.themes.solarized-fork-monospace
pkgs.theLoungePlugins.themes.midnight
pkgs.theLoungePlugins.themes.dracula
pkgs.theLoungePlugins.themes.purplenight
pkgs.theLoungePlugins.themes.new-morning
pkgs.theLoungePlugins.themes.zenburn-sourcecodepro
];
extraConfig = {
host = "127.0.0.1";
bind = "104.168.211.198";
reverseProxy = true;
fileUpload = {
enable = true;
maxFileSize = 10240; # kb
baseURL = "https://irc.tempest.dev/";
};
leaveMessage = "bye";
};
};
config.services.nginx.virtualHosts."irc.tempest.dev" = {
locations."/" = {
proxyPass = "http://localhost:9000/";
extraConfig = ''
proxy_set_header Host $host;
'';
proxyWebsockets = true;
};
forceSSL = true;
enableACME = true;
};
}
Loading…
Cancel
Save