{ lib, ... }: { # Testing eval failures that result from stateVersion assertion is out of scope mailserver.stateVersion = 999; # Enable second CPU core virtualisation.cores = lib.mkDefault 2; services.rspamd = { # Don't make tests block on DNS requests that will never succeed locals."options.inc".text = '' dns { nameservers = ["127.0.0.1"]; timeout = 0.0s; retransmits = 0; } ''; # Relax `local_addrs` definition to default for tests, so mail doesn't get flagged as spam overrides."options.inc".enable = false; }; }