You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.8 KiB
Nix
80 lines
1.8 KiB
Nix
{ config, lib, pkgs, ...}: {
|
|
|
|
config.services.pounce = {
|
|
enable = true;
|
|
|
|
networks = {
|
|
"libera.irc.tempest.dev" = {
|
|
fullChain = "/var/lib/acme/wildcard-irc.tempest.dev/fullchain.pem";
|
|
privKey = "/var/lib/acme/wildcard-irc.tempest.dev/key.pem";
|
|
config = {
|
|
host = "irc.libera.chat";
|
|
nick = "tempest";
|
|
user = "ashe";
|
|
real = "ashe [they/it]";
|
|
};
|
|
};
|
|
|
|
"tilde.irc.tempest.dev" = {
|
|
fullChain = "/var/lib/acme/wildcard-irc.tempest.dev/fullchain.pem";
|
|
privKey = "/var/lib/acme/wildcard-irc.tempest.dev/key.pem";
|
|
config = {
|
|
host = "irc.tilde.chat";
|
|
nick = "ashe";
|
|
user = "ashe";
|
|
real = "ashe [they/it]";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
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.solanum = {
|
|
enable = true;
|
|
|
|
config = ''
|
|
serverinfo {
|
|
name = "irc.tempest.dev";
|
|
sid = "0tm";
|
|
description = "tempest test server";
|
|
network_name = "tempest irc";
|
|
vhost = "0.0.0.0";
|
|
};
|
|
|
|
listen {
|
|
host = "127.0.0.1";
|
|
port = 6667;
|
|
};
|
|
'';
|
|
|
|
motd = ''
|
|
Test?
|
|
'';
|
|
};
|
|
}
|