Nix configurations for my homelab
1{ ... }:
2{
3 services.soju = {
4 enable = true;
5 hostName = "soju.yem.pink";
6 listen = [
7 "irc+insecure://[::1]:6667"
8 "http+insecure://[::1]:8081" # Needed for file-upload
9 ];
10 acceptProxyIP = [ "localhost" ];
11 enableMessageLogging = false; # This stores messages using the filesystem, I want to use the database.
12 extraConfig = ''
13 message-store db
14 file-upload fs /var/lib/soju/file-upload
15 '';
16 };
17}