Module Implementation
This is a standard NixOS-style module that defines options and configuration.
This is a standard NixOS-style module that defines options and configuration. For complex modules, you can split this into options.nix and config.nix.
The module should:
- Define options under stackpanel.modules.<id>.*
- Define per-app options via appModules if needed
- Implement config = lib.mkIf cfg.enable { ... }
- Define flake checks for CI (required for certification)
- Define health checks for runtime monitoring
For large modules with many checks, consider splitting checks into checks.nix