WS-H: NixOS module, VM test, README section
Module: Origin/Host allowlists from allowedHosts and the FQDN, credentials refreshed on reload so SIGHUP rotates the TLS cert, string cert/key paths kept out of the store, docker.enable asserts virtualisation.docker. VM test covers healthz, 401, token mint/revoke via sudo -u, /mcp, Origin 403, root refusal and a TLS node. Package skips two unit tests that need host state the sandbox lacks. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017WMgwyHQQU9cB4ruRDrKow
This commit is contained in:
1 parent
46b4f5ac0b
commit
34da657fdf
6 files changed
+193
-16
No files matched your search
@@ -24,6 +24,13 @@ rustPlatform.buildRustPackage {
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ systemd ];
|
||||
|
||||
# These two need host state the build sandbox lacks: a root-owned /usr, and a
|
||||
# CA bundle for the reqwest client. They run under cargo test outside Nix.
|
||||
checkFlags = [
|
||||
"--skip=db::tests::cli_owner_check_uses_file_then_parent_and_allows_missing_dir"
|
||||
"--skip=telemetry::tests::exporters_build_for_both_protocols"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Read-only Linux system monitor: systemd, journald and Docker over REST, MCP and OpenTelemetry";
|
||||
license = lib.licenses.mit;
|
||||
|
||||
Reference in new issue
Block a user