lower dhparam bits, for faster tests

Make a tests/lib/config.nix file that is imported into the configuration
of all testing VMs.
This commit is contained in:
Joey Hewitt 2019-06-30 02:43:29 -06:00
parent 4e8fbac580
commit 05d963e751
4 changed files with 13 additions and 0 deletions

View file

@ -34,6 +34,7 @@ import <nixpkgs/nixos/tests/make-test.nix> {
{
imports = [
../default.nix
./lib/config.nix
];
virtualisation.memorySize = 1500;
@ -103,6 +104,10 @@ import <nixpkgs/nixos/tests/make-test.nix> {
exec grep '${clientIP}' "$@"
'';
in {
imports = [
./lib/config.nix
];
environment.systemPackages = with pkgs; [
fetchmail msmtp procmail findutils grep-ip
];