-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Describe the bug
Assuming I have many of these modules in my NixOS configuration which follow almost the same configuration pattern:
I wanted to write a module that would dynamically generate modules for those apps from a list like this:
Steps To Reproduce
- Clone https://github.com/kolyma-labs/instances/tree/dynamic-web
- Examine the last commit for more context
- nix flake check
Expected behavior
Generate and import modules, so they would create configurations I mentioned at the top screenshots.
Metadata
nix-env (Determinate Nix 3.11.2) 2.31.1
Additional context
Everything is here: https://github.com/kolyma-labs/instances/tree/dynamic-web
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.