Compare commits
No commits in common. "85da820b2474a9bdeb2c5ea71c87f8a894ecf3bf" and "89e52b8a74ac7f64fb833970fb8ecb353037a778" have entirely different histories.
85da820b24
...
89e52b8a74
3 changed files with 1 additions and 42 deletions
|
@ -11,7 +11,6 @@
|
|||
./_ssh.nix
|
||||
./_users.nix
|
||||
./dokuwiki.nix
|
||||
./thelounge.nix
|
||||
./hardware-configuration.nix
|
||||
./matterbridge.nix
|
||||
./nginx.nix
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
};
|
||||
networks = {
|
||||
"10-uplink" = {
|
||||
name = "enp1s0";
|
||||
name = "eth0";
|
||||
DHCP = "no";
|
||||
address = [
|
||||
"129.199.129.76/24"
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
services.thelounge = {
|
||||
enable = true;
|
||||
port = 9000;
|
||||
extraConfig = {
|
||||
reverseProxy = true;
|
||||
host = "127.0.0.1";
|
||||
public = false;
|
||||
prefetch = true;
|
||||
fileUpload = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
defaults= {
|
||||
name= "ulminfo";
|
||||
host= "ulminfo.fr";
|
||||
port= 3725;
|
||||
password= "";
|
||||
tls= true;
|
||||
rejectUnauthorized= true;
|
||||
join= "#hackens";
|
||||
};
|
||||
};
|
||||
};
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts."irc.hackens.org" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:9000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
}
|
Loading…
Reference in a new issue