Skip to content
Discussion options

You must be logged in to vote

Hmm

Yeah flake.wrappers and the exported flake.wrapperModules really do usually expect a whole wrapper module with the program and stuff

On the bright side, if the module was imported via a path, as wlib.wrapperModules.niri is in your example, it will automatically deduplicate.

So, method 1, would be put wlib.wrapperModules.niri in flake.wrappers.niri-binds and the like, and then you would also export one final niri wrapper with all of those imported via self.wrapperModules.niri-binds and such, (which get automatically created based on flake.wrappers).

But that would of course be somewhat cumbersome, as you might then want to use perSystem.wrappers.packages.niri-binds = true; to disable t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MATOO-Dev
Comment options

Answer selected by MATOO-Dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants