Skip to content

⚙ darkone.system.testing

Standalone test mode for the NixOS Test Driver.

When enabled, neutralizes the irreducibly external/runtime bits so a node can be exercised in a VM: headscale/tailscale become no-ops and a fixed TLS cert can stub ACME. It also lets workDir-only config (nix.pub, harmonia.pub) be skipped by core/nix-cache. sops stays REAL (high fidelity).

  • standalone bool Standalone test mode — skip workDir-only config (nix.pub, harmonia.pub) and neutralize external services
  • tlsCert nullOr path Self-signed cert (PEM) provided by the test harness to stub ACME. Never a tests/ path baked into the framework.
  • tlsKey nullOr path Private key (PEM) paired with tlsCert.
darkone.test = {
standalone = false;
tlsCert = null;
tlsKey = null;
};

Source: modules/system/testing.nix 🡕