Swap out znc for soju
This commit is contained in:
parent
095a1f4e92
commit
95a6c7034a
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
./services/syncthing.nix
|
./services/syncthing.nix
|
||||||
./services/whoogle.nix
|
./services/whoogle.nix
|
||||||
./services/znc.nix
|
./services/soju.nix
|
||||||
./filesystems
|
./filesystems
|
||||||
./hardware
|
./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 = {
|
services.znc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# mutable = false;
|
# mutable = false;
|
||||||
confOptions = {
|
useLegacyConfig = false;
|
||||||
nick = "prescientmoon";
|
|
||||||
networks.tilde = {
|
config.User.prescientmoon = {
|
||||||
server = "eu.tilde.chat";
|
Network.tilde = {
|
||||||
port = 6697;
|
Server = "eu.tilde.chat +6697";
|
||||||
channels = [ "#meta" "#math" ];
|
Chan."#meta" = { };
|
||||||
modules = [
|
Chan."#math" = { };
|
||||||
"simple_away" # marks me as away when disconnected
|
Nick = "prescientmoon";
|
||||||
"sasl" # auto login
|
LoadModule = [ "" ];
|
||||||
];
|
JoinDelay = 2; # Avoid joining channels before auth
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue