News for hackers. Stuff that matters.
Re:Show HN: Convert your Containerfile to a bootable OS by ranger_danger on Tuesday May 07, 2024 @05:16PM (#40291593)
One of my biggest complaints with distros has been the lack of documentation on how to actually build the distro itself, not just an ISO but like build all the packages from source as well. Like as if you were following an LFS book. I have seen VERY few distros that provide this.

Do you think this helps that at all?

Re:Show HN: Convert your Containerfile to a bootable OS by brirec on Tuesday May 07, 2024 @07:44PM (#40292811)
Universal Blue’s build system (not Blue-Build) is pretty clear, and self documenting. I maintained a personal fork of Bluefin for a while, and it was easy to understand!
Re:Show HN: Convert your Containerfile to a bootable OS by aliasxneo on Tuesday May 07, 2024 @10:50PM (#40293881)
What made you stop?
Re:Show HN: Convert your Containerfile to a bootable OS by brirec on Tuesday May 07, 2024 @11:02PM (#40293947)
Honestly? Immersing myself headfirst into Nix/NixOS, which has been fun and worthwhile.. but I’m not convinced it’s really “better,” at least for my needs.

And the fact that it’s ever so slightly easier to build and deploy a NixOS VM from scratch on a Proxmox VE server than to build and deploy a CoreOS VM using Ignition (also on Proxmox).

But it’s probably worth it for me to switch back, at least for now. It takes maybe 10-15 minutes to build a bootable Bluefin fork native container image with GitHub Actions, but a relatively basic NixOS+ Plasma 6 image took closer to 60 minutes and came out to over 8 GB compressed…

Re:Show HN: Convert your Containerfile to a bootable OS by aliasxneo on Tuesday May 07, 2024 @11:38PM (#40294099)
Interesting, I _just_ went from NixOS to Bluefin. I took home-manager with me, though, which gives me just enough Nix without the NixOS headaches (mainly around processes daring to bring "foreign" binaries into the system). My honeymoon period with Nix lasted about six months and was pretty quickly over. I stuck with NixOS for about 18 months only out of laziness of not wanting to set something else up. I really like this new stack, though. Time will tell if it's actually better.
Re:Show HN: Convert your Containerfile to a bootable OS by Zambyte on Tuesday May 07, 2024 @10:18PM (#40293724)
GNU Guix does an awesome job with this. The documentation is one of the main reasons I left NixOS, and then some time later I landed on Guix. I have stuck on the latter for a few years now.
Re:Show HN: Convert your Containerfile to a bootable OS by fransje26 on Wednesday May 08, 2024 @05:07AM (#40295849)
Out of personal interest, do you also make use of the non-free parts of Guix? And if so, how well do they work, and how well are they documented compared to the "core" part? The orthodoxy of free software purity is nice, but I unfortunately also need to get CUDA working.

I tried Nix a few times, but the documentation was so lacking and/or outdated that I couldn't figure out how to get the setup I needed working, and I had to drop the idea as I couldn't justify the time investment that would be needed to prod around in the dark until everything worked.

Re:Show HN: Convert your Containerfile to a bootable OS by Zambyte on Wednesday May 08, 2024 @08:49AM (#40297525)
Can't speak to CUDA as all of my systems run AMD or Intel at this point, but I use the nonguix channel for the mainline Linux kernel. I even built a custom iso using the mainline kernel, since my servers NIC requires non-free blobs. The process for doing that was surprisingly easy to me.

Between the nonguix README and other resources like systemcrafters, you're in pretty good company as far as the documentation for non-free things to.

Edit: less related but I still wanted to mention:

Guix makes extensive use of the info[0][1] system for documentation also. There is essentially a textbook worth of information locally on the machine, which is generally what I use instead of turning to the web.

[0] https://www.gnu.org/software/texinfo/manual/info-stnd/info-s...

[1] https://www.gnu.org/software/emacs/manual/html_mono/info.htm...

Re:Show HN: Convert your Containerfile to a bootable OS by fransje26 on Wednesday May 08, 2024 @09:13AM (#40297750)
Thank you for your feedback and the information!
Re:Show HN: Convert your Containerfile to a bootable OS by rekado on Thursday May 16, 2024 @11:59AM (#40379913)
CUDA is available in the guix-science-nonfree channel. https://hpc.guix.info/channels/non-free/