Skip to content
Discussion options

You must be logged in to vote

https://nixcats.org/nixCats_format.html#nixCats.flake.outputs.settings

There is a setting called wrappedCfgDir. It can take a path, including a derivation, OR a function that gets the same arguments as your packageDefinitions. You packageDefinitions are also passed luaPath as an arg.

You can use it to build your config directory into whatever shape you want and provide that there.

HOWEVER.

Something to keep in mind is, when you are using your config unwrapped, like, wrapRc = false and nix isn't building it for you, then it won't run those steps and you will have to do that yourself.

You can run the steps via nix when you are building your config via nix, but if you are using the impure di…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@davisclarke
Comment options

@BirdeeHub
Comment options

Answer selected by davisclarke
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
Converted from issue

This discussion was converted from issue #376 on November 22, 2025 01:07.