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?
Hello, I have been able to generate Amazon images(among other variants) by using the
nixosGenerate
function. Once on the instance, for me torebuild-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