Swap out znc for soju
This commit is contained in:
parent
095a1f4e92
commit
95a6c7034a
|
@ -6,7 +6,7 @@
|
|||
|
||||
./services/syncthing.nix
|
||||
./services/whoogle.nix
|
||||
./services/znc.nix
|
||||
./services/soju.nix
|
||||
./filesystems
|
||||
./hardware
|
||||
];
|
||||
|
|
9
hosts/nixos/lapetus/services/soju.nix
Normal file
9
hosts/nixos/lapetus/services/soju.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
services.soju = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
db sqlite3 /persist/state/soju/storage.db
|
||||
message-store db
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue