nixos/mosquitto: use networkd for tests

the non-networkd backend does not wait for slaac to finish (ie, ipv6
addresses coming out of tentative state), and that breaks the mosquitto
bind_interface test slightly. if slaac takes too long the test will run
into mosquitto restart limits and fail.
This commit is contained in:
pennae 2023-05-09 11:41:17 +02:00
parent e8ce641a97
commit 5f5b5a76b9

View file

@ -66,6 +66,7 @@ in {
in {
server = { pkgs, ... }: {
networking.firewall.allowedTCPPorts = [ port tlsPort anonPort ];
networking.useNetworkd = true;
services.mosquitto = {
enable = true;
settings = {