1
Fork 0

Swap out znc for soju

This commit is contained in:
Matei Adriel 2024-01-28 17:19:22 +01:00
parent 095a1f4e92
commit 95a6c7034a
No known key found for this signature in database
3 changed files with 20 additions and 11 deletions

View file

@ -6,7 +6,7 @@
./services/syncthing.nix
./services/whoogle.nix
./services/znc.nix
./services/soju.nix
./filesystems
./hardware
];

View file

@ -0,0 +1,9 @@
{
services.soju = {
enable = true;
extraConfig = ''
db sqlite3 /persist/state/soju/storage.db
message-store db
'';
};
}

View file

@ -2,16 +2,16 @@
services.znc = {
enable = true;
# mutable = false;
confOptions = {
nick = "prescientmoon";
networks.tilde = {
server = "eu.tilde.chat";
port = 6697;
channels = [ "#meta" "#math" ];
modules = [
"simple_away" # marks me as away when disconnected
"sasl" # auto login
];
useLegacyConfig = false;
config.User.prescientmoon = {
Network.tilde = {
Server = "eu.tilde.chat +6697";
Chan."#meta" = { };
Chan."#math" = { };
Nick = "prescientmoon";
LoadModule = [ "" ];
JoinDelay = 2; # Avoid joining channels before auth
};
};
};