harness-base: wrap config attributes after introducing options

mixing options.* with bare config-level attributes (boot.*, environment.*, etc.) at the same level isn't supported once the module declares any options — nix needs them under an explicit 'config = { ... }' block. error from the host: 'unsupported attribute boot. caused by introducing top-level options'. wrap accordingly.
This commit is contained in:
müde 2026-05-16 02:17:15 +02:00
parent 7d6d8e96c1
commit 66a69d0c7f

View file

@ -59,6 +59,7 @@
''; '';
}; };
config = {
environment.etc."hyperhive/extra-mcp.json".text = environment.etc."hyperhive/extra-mcp.json".text =
builtins.toJSON config.hyperhive.extraMcpServers; builtins.toJSON config.hyperhive.extraMcpServers;
@ -100,4 +101,5 @@
environment.variables.SHELL = "${pkgs.bashInteractive}/bin/bash"; environment.variables.SHELL = "${pkgs.bashInteractive}/bin/bash";
system.stateVersion = "25.11"; system.stateVersion = "25.11";
};
} }