mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-19 21:38:07 -04:00
feat(nix): generate module options docs and sync to website
- Add nix/generate-hm-options.nix to export HM and NixOS module options as JSON via nixosOptionsDoc - Expose hm-options-json and nixos-options-json packages in flake.nix - Add CI workflow to auto-build and push JSONs to mangowm.github.io on module changes - Add missing description to hm-modules enable option
This commit is contained in:
parent
129d3da44e
commit
0a687f808d
5 changed files with 97 additions and 0 deletions
|
|
@ -43,6 +43,14 @@
|
|||
};
|
||||
packages = {
|
||||
inherit mango;
|
||||
hm-options-json = pkgs.callPackage (import ./nix/generate-options.nix self) {
|
||||
module = ./nix/hm-modules.nix;
|
||||
optionPrefix = "wayland.windowManager.mango.";
|
||||
};
|
||||
nixos-options-json = pkgs.callPackage (import ./nix/generate-options.nix self) {
|
||||
module = ./nix/nixos-modules.nix;
|
||||
optionPrefix = "programs.mango.";
|
||||
};
|
||||
};
|
||||
devShells.default = mango.overrideAttrs shellOverride;
|
||||
formatter = pkgs.alejandra;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue