Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add modules option to allow flakeModules to add options to every devshell #1349

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

TECHNOFAB11
Copy link
Contributor

This PR adds an option devenv.modules which takes an array of module types (paths, functions and attrsets) and forwards them into all shells.

That makes it way easier for flake modules (when using flake-parts) to add custom options for shells.
For example, it would allow my nix-devtools to easily add task and teller integration without the user having to add imports into every shell. (see feat/flakeModule for example)

@domenkozar domenkozar merged commit 9955b35 into cachix:main Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants