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

Ability to reconfigure machines built with generators #401

Open
paulvictor opened this issue Oct 30, 2024 · 1 comment
Open

Ability to reconfigure machines built with generators #401

paulvictor opened this issue Oct 30, 2024 · 1 comment

Comments

@paulvictor
Copy link

Hello,
I have been able to generate Amazon images(among other variants) by using the nixosGenerate function. Once on the instance, for me to rebuild-switch, I find it difficult because I would still like to have the options set by ${modulesPath}/virtualisation/amazon-image.nix available. Is there a way possible.
One possibility I can think of is if the nixosGenerate function return the image value and have another attribute in the final attrset for the actual image artifact.
Can you let me know of any other way this can be done?

Thanks
Paul

@paulvictor
Copy link
Author

I just came across #256 , would using nixos-generators as a module solve my problem?

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

No branches or pull requests

1 participant