nlewo / nix2container

An archive-less dockerTools.buildImage implementation
Apache License 2.0
501 stars 45 forks source link

Creating an image with a Home Manager profile? #133

Open drupol opened 4 months ago

drupol commented 4 months ago

Hello,

I'm opening this issue for some help. I'm looking for some examples and/or documentation on how to build an OCI image containing a user and a Home Manager profile enabled on that user.

I've created an example in a flake here: https://github.com/nix-community/home-manager/issues/5258 but without luck. Do you have a clue on how I could do that?

I'm not (yet?) using nix2container, feel free to close the issue if you believe it's irrelevant here, I would understand.