Commit graph

16 commits

Author SHA1 Message Date
Ruixi-rebirth
d5db98cfb7
fix(scripts): improve nix options doc generator
- Restore missing description on hm enable option (fixes nix build warning)
- Rewrite format_default_value into format_value with example support and nix code blocks
- Fix Nix markup stripping: {tag}`content` now preserves backtick content
- Generalize ::: block handling beyond {.note} to any block type
- Switch output from Markdown table to labeled fields format
2026-05-13 04:04:36 +08:00
atheeq
c3ec4c6142
refactor(nix): replace sync nix options with direct md generation to … (#1)
* refactor(nix): replace sync nix options with direct md generation to docs

* fix(docs): add trailing comman in meta

* fix(ci): sort nix options and fix default value check
2026-05-12 22:18:45 +08:00
Ruixi-rebirth
0a687f808d
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
2026-05-12 16:01:03 +08:00
Ananya Timalsina
bb0160d7cf feat(nix): add build-time configuration validation
Uses `pkgs.runCommand` in the home-manager module to parse and validate
the generated config file prior to deployment, preventing broken setups.
2026-04-03 18:14:50 +08:00
Ananya Timalsina
a8afc0dc4d feat(nix): support old config format with deprecation warning 2026-04-03 18:14:45 +08:00
Ananya Timalsina
b63e93fc09 feat(nix): add keymode support for modal keybindings 2026-04-03 18:14:40 +08:00
Ananya Timalsina
c7c41c3103 refactor(nix): add structured config support to home-manager module
Convert settings from raw text to structured Nix attrs, following
Hyprland's module pattern. Implementation based 1:1 on Hyprland's
design - all credit to the Hyprland project.

- Add nix/lib.nix with toMango conversion function
- Support nested attrs, lists for duplicate keys
- Add extraConfig, topPrefixes, bottomPrefixes options
- Auto-add exec-once for autostart.sh

Adapted for mangowc syntax (underscore separators vs colons).
2026-04-03 18:14:35 +08:00
ColorSkyFun
1271832e94 nix: fix warning by replacing pkgs.system with pkgs.stdenv.hostPlatform.system 2025-11-03 13:17:25 +08:00
Your Name
75f45fd534 improve home-manager module 2025-10-16 21:31:31 +02:00
Lin Xianyi
b6c4f59a07 nix: add package option for home-manager 2025-08-12 17:07:45 +08:00
Lin Xianyi
1b7769992c nix: Use types.lines for settings and autostart_sh 2025-08-10 08:41:38 +08:00
DreamMaoMao
b20b3ef9f6 change: change project name to mango 2025-07-30 15:03:10 +08:00
Yappaholic
6c99eeaeb3 refactor: format nix code with alejandra and optimize src path 2025-06-17 22:46:26 +03:00
DreamMaoMao
d636ef97ac ver: upgrade to wlroots-0.19 version 2025-04-13 10:35:02 +08:00
Ruixi-rebirth
56da92a0a6
refactor: optimize hmModule options 2025-02-26 03:01:44 +08:00
Ruixi-rebirth
1a55178fd6
feat: add flake support 2025-02-25 22:05:29 +08:00