Hacker News new | past | comments | ask | show | jobs | submit login

Now, if something can pull everything from a Nix conf into a docker... that'd be useful. :-D

Not something anyone dreamed of I guess.




Funnily enough, this is a very common approach :)

With a Flake, you just need to declare a new output like this: https://github.com/aksiksi/ncdmv/blob/ebd57d02a0fe653e277003...

Then to build it:

    nix build .#docker && docker load < ./result


Is this what you were thinking of or something else?

https://nix.dev/tutorials/nixos/building-and-running-docker-...


I'll be darned. Cool.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: