lol

prosody: use default network, remove libevent, config deprecated

`use_libevent` config option has been deprecated as there are 3
networking back-ends (see: https://prosody.im/doc/network_backend). It
is probably unwise to stray from the defaults (epoll).

Review instructed to flat-out remove it versus previously making it opt-in.

toastal ccb0f871 67b3f56c

-5
-3
nixos/modules/services/networking/prosody.nix
··· 779 779 780 780 admins = ${toLua cfg.admins} 781 781 782 - -- we already build with libevent, so we can just enable it for a more performant server 783 - use_libevent = true 784 - 785 782 modules_enabled = { 786 783 787 784 ${ lib.concatStringsSep "\n " (lib.mapAttrsToList
-2
pkgs/servers/xmpp/prosody/default.nix
··· 2 2 , icu 3 3 , lua 4 4 , nixosTests 5 - , withLibevent ? true 6 5 , withDBI ? true 7 6 # use withExtraLibs to add additional dependencies of community modules 8 7 , withExtraLibs ? [ ] ··· 16 15 luaEnv = lua.withPackages(p: with p; [ 17 16 luasocket luasec luaexpat luafilesystem luabitop luadbi-sqlite3 luaunbound 18 17 ] 19 - ++ lib.optional withLibevent p.luaevent 20 18 ++ lib.optional withDBI p.luadbi 21 19 ++ withExtraLuaPackages p 22 20 );