mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: matrix appservices and weechat setup
This commit is contained in:
parent
468c9bc811
commit
4b0a194abb
37 changed files with 850 additions and 334 deletions
14
nixos/servers/thelounge/nginx.nix
Normal file
14
nixos/servers/thelounge/nginx.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
_: {
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"irc.kittywit.ch" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:9000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
12
nixos/servers/thelounge/thelounge.nix
Normal file
12
nixos/servers/thelounge/thelounge.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
_: {
|
||||
services.thelounge = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
reverseProxy = true;
|
||||
public = false;
|
||||
fileUpload = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue