⚙ 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).
Options
Section titled “Options”- standalone
boolStandalone test mode — skip workDir-only config (nix.pub, harmonia.pub) and neutralize external services - tlsCert
nullOr pathSelf-signed cert (PEM) provided by the test harness to stub ACME. Never a tests/ path baked into the framework. - tlsKey
nullOr pathPrivate key (PEM) paired with tlsCert.
darkone.test = { standalone = false; tlsCert = null; tlsKey = null;};Source: modules/system/testing.nix 🡕