SSH into Nix Docker Image

Hello! I’m trying to get a remote build server to work, but I’m only able to “install” software through docker (podman to be specific) on this server. My plan was start the base nixos image, set up ssh to that container, then connect to that container for remote builds.

Could this be possible, and if so, how? I’ve tried a bunch of things, but I haven’t been able to start sshd…

Hi,

I’m very new to this, but can you use nixos-generators to generate a nixos Docker image with the software you need, and make that image available for your build server to run?