LnL7 / nix-darwin

nix modules for darwin
MIT License
3.19k stars 457 forks source link

Expose `extendModules` attr #920

Open hiroqn opened 7 months ago

hiroqn commented 7 months ago

expose extendModules

implementation reference is https://github.com/nix-community/home-manager/blob/3142bdcc470e1e291e1fbe942fd69e06bd00c5df/modules/default.nix#L43

ref: https://github.com/LnL7/nix-darwin/pull/777 ref: https://github.com/LnL7/nix-darwin/issues/609

hiroqn commented 4 months ago

@Enzime This PR is enhancement for #609 that could address the missing functionality Could you please review it when you have a moment? I'd appreciate your feedback.

remi-gelinas commented 4 weeks ago

@LnL7 Any chance this could get a pair of eyes? I need extendModules to be passed through for a composite use case I have, and I figured I'd see if anyone tried before raising a PR myself.