mist updates

This commit is contained in:
insects 2024-09-03 22:50:30 +02:00
parent 189fcafde9
commit 41a9e31d06
3 changed files with 18 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
halloy konversation
]; ];
} }

View file

@ -10,6 +10,8 @@
unzip unzip
openssl openssl
autoconf autoconf
pkg-config
bun
# haskell stuff # haskell stuff
haskell.compiler.ghc910 haskell.compiler.ghc910

View file

@ -118,12 +118,13 @@
topiclen = 390; topiclen = 390;
}; };
network = { network = {
name = "testnetwork"; name = "linacastellane";
}; };
server = { server = {
casemapping = "permissive"; casemapping = "permissive";
check-ident = false; check-ident = false;
enforce-utf = true; enforce-utf = true;
enforce-utf8 = true;
forward-confirm-hostnames = false; forward-confirm-hostnames = false;
ip-cloaking = { ip-cloaking = {
enabled = false; enabled = false;
@ -134,10 +135,13 @@
}; };
listeners = { listeners = {
":6667" = { }; ":6667" = { };
"127.0.0.1:8067" = {
websocket = true;
};
}; };
lookup-hostnames = false; lookup-hostnames = false;
max-sendq = "1M"; max-sendq = "1M";
name = "example.com"; name = "chat.lina.cool";
relaymsg = { relaymsg = {
enabled = false; enabled = false;
}; };
@ -184,12 +188,20 @@
email = "shadows@with.al"; email = "shadows@with.al";
virtualHosts = { virtualHosts = {
"lina.cool" = { "owncast.lina.cool" = {
extraConfig = '' extraConfig = ''
encode gzip encode gzip
reverse_proxy 127.0.0.1:8001 reverse_proxy 127.0.0.1:8001
''; '';
}; };
"irc.lina.cool" = {
extraConfig = ''
handle /websocket {
reverse_proxy 127.0.0.1:8067
}
'';
};
}; };
}; };