Commit graph

38 commits

Author SHA1 Message Date
Ruixi-rebirth
406866d96a
docs(nix): add startup guide and clarify addLoginEntry
- Replace 'Extra options' with greetd and getty autologin examples
- Add bash/zsh and fish variants for getty autologin
- Add link to Nix Module Options reference
- Clarify addLoginEntry only has effect when a DM is configured
2026-05-13 06:09:00 +08:00
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
DreamMaoMao
47b053725c
Merge pull request #723 from jtliang24/main
Sets default for addLoginEntry correctly
2026-05-11 13:45:08 +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
beeb5k
6c88999ada
meta(nix): update description 2026-03-16 19:02:36 +05:30
beeb5k
47b5c9aa2e
meta: update homepage repository links 2026-03-16 16:46:01 +05:30
Jiatao Liang
d2b9159494 Sets default for addLoginEntry correctly 2026-03-01 10:36:28 -05:00
DreamMaoMao
008cb9726e
Revert "Add nix option to enable/disable adding to session manager" 2026-03-01 18:04:21 +08:00
Noor Latif
b338391984 fix(nix): update deprecated xorg package names to top-level
xcbutilwm → libxcb-wm

This eliminates the deprecation warnings:
- "The xorg package set has been deprecated, 'xorg.xcbutilwm' has been renamed to 'libxcb-wm'"

Changes:
- nix/default.nix:14: xcbutilwm, → libxcb-wm,
- nix/default.nix:60: xcbutilwm → libxcb-wm
2026-02-26 09:25:25 +00:00
Jiatao Liang
2f630c950e optional-session-manager 2026-02-23 22:59:31 -05:00
Rexiel Scarlet
20a0905ba7
feat(nix): support debug override for setting asan opt 2025-12-13 11:40:23 +04:00
Rexiel Scarlet
1d79b10437
refactor(nix): removed redundandt let in + formatting 2025-12-13 11:40:20 +04:00
Rexiel Scarlet
5b0c2d834f
fix(nix): correctly set meson opt for enableXwayland flag 2025-12-13 11:40:16 +04:00
David Delarosa
c004f7460c nix: add portals.conf file 2025-11-24 11:43:14 +08:00
ColorSkyFun
1271832e94 nix: fix warning by replacing pkgs.system with pkgs.stdenv.hostPlatform.system 2025-11-03 13:17:25 +08:00
DreamMaoMao
1f7a8a3ced
Merge pull request #294 from JumpIn-Git/main
improve home-manager module
2025-10-18 16:14:02 +08:00
ProggerX
02d65c33e4 nix: merge mmsg to mangowc project 2025-10-18 15:12:02 +08:00
Your Name
75f45fd534 improve home-manager module 2025-10-16 21:31:31 +02:00
DreamMaoMao
04766b7247 opt: nix not need wlroots custom patch any more 2025-09-26 12:12:23 +08: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
8d5ac93ffc nix: update license 2025-06-25 17:40:50 +03:00
DreamMaoMao
31d82747cf nix: optimize nix config 2025-06-25 10:44:34 +08:00
EdenQwQ
5b219a7114 fix: remove scenefx override as it is fixed upstream 2025-06-25 08:23:11 +08:00
EdenQwQ
accd34ba29 nix: fix not building 2025-06-25 00:03:25 +08:00
Yappaholic
f922019aef nix: use patched version of wlroots in default.nix 2025-06-22 00:54:45 +03:00
Yappaholic
6c99eeaeb3 refactor: format nix code with alejandra and optimize src path 2025-06-17 22:46:26 +03:00
qwqawawow
2871df1c26 nix: add missing pcre2 dep 2025-06-03 18:47:35 +08:00
DreamMaoMao
d636ef97ac ver: upgrade to wlroots-0.19 version 2025-04-13 10:35:02 +08:00
EdenQwQ
21056746bf feat: add nixos module 2025-03-24 10:55:11 +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