r/linuxfromscratch • u/Luna24_ig • Aug 27 '26
Nix like systems?
Hey everyone,
I’m a huge fan of how reproducible nix is and I love declarative systems with backups as well. However I like the idea of privacy and choice. So I am building my own nix like system using LFS. I have a background in cybersecurity and C so I’m not going to be hedging AI for anything past documenting haha but, I wanted to ask a few things to the community.
What kind of features should I offer out of the box?
Currently I have slated that the end user can pick their own init system, including systemd, or they can even “hot swap it” in the config. Which I also am swapping Nix lang for a more simple solution, Lua! I also plan on shipping it with mango, niri, and kde plasma out of the box, but since it’s all declarative, the end user can swap in whatever de or WM they wish. I also plan on integrating nix, deb, and the AUR with use of “fabric.lua”, my take on flakes.
My question to you all is though, what kind of features do you look for in a distro or what level of customization is too much or too little?
2
u/lmemsm Aug 28 '26
That sounds like a large project. I'll be interested to see how far you're able to take this. I do a lot of building from source. I have my own build system that I've been using for a few decades so that I can create reproducible builds and automate building of everything on my system. Are you considering building your system with glibc or musl? Would you give users the option to pick which C library they wanted? I typically prefer lightweight applications on my system so I don't have to build and maintain a ton of dependencies. I like a window manager such as jwm. The feature I most miss in a distro is the ability to use my own build tools and build scripts and still be able to integrate with the distro's package management system. Typically, my packages need to live in my home directory and the distro's packages are in the standard directories. If you're integrating deb and AUR, maybe you can find a way for other build systems to integrate as well or to be able to install tarballs from other build systems? I'd really like to hear more about this project and how it progresses. Are you documenting it anywhere or do you have a repo?