summaryrefslogtreecommitdiffstats
path: root/tests/lib/config.nix
blob: b247c66d4bb6d9731fdf5f6974409b2aa88d2cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
{
    security.dhparams.defaultBitSize = 16; # really low for quicker tests

    # For slow non-kvm tests.
    # nixos/modules/testing/test-instrumentation.nix also sets this. I don't know if there's a better way than etc to override theirs.
    environment.etc."systemd/system.conf.d/bigdefaulttimeout.conf".text = ''
      [Manager]
      # Allow extremely slow start (default for test-VMs is 5 minutes)
      DefaultTimeoutStartSec=15min
    '';
}