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

Generate separate Nix modules in a directory #14

Open
aksiksi opened this issue Mar 17, 2024 · 0 comments
Open

Generate separate Nix modules in a directory #14

aksiksi opened this issue Mar 17, 2024 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@aksiksi
Copy link
Owner

aksiksi commented Mar 17, 2024

This behavior would be controlled by a flag with default = false.

Directory structure:

$ ls
service-a.nix
service-b.nix
volumes.nix
networks.nix
default.nix

Where default.nix looks something like this:

{ ... }:

{
  imports = [
    ./service-a.nix
    ./service-b.nix
    ./volumes.nix
    ./networks.nix
  ];

  # Preamble.
  
  # Root target.
}
@aksiksi aksiksi added the feature New feature or request label Mar 17, 2024
@aksiksi aksiksi self-assigned this Mar 17, 2024
@aksiksi aksiksi changed the title Option to generate separate Nix modules in a directory Generate separate Nix modules in a directory Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant