Try it! Here’s a proof of concept that I’ve made that shows NixOS could even be used as a base for a very simple OS that abstracts the Nix away almost completely. Maybe the source code is of interest to you.
Cyberpunk | Programmer | Ruby on Rails veteran | Nix user | Sysop | Mr. Fusion maintainer for the MiSTer project
Try it! Here’s a proof of concept that I’ve made that shows NixOS could even be used as a base for a very simple OS that abstracts the Nix away almost completely. Maybe the source code is of interest to you.
Technically NixOS is all compiled from source too (if you disable the binary caches). It has since taken away Gentoo’s raison d’être a bit in my head. Debian still holds a special place in my heart too, for its simplicity and stability!
Interesting. I’ve using NixOS many years on servers but recently also started using it as a base for docker hosts. Before that I used Ubuntu or Debian for docker hosts, but I figured out I still like the declarative approach even for simple servers like docker hosts. There’s your basic security config, ssh keys and monitoring setup that I used to do imperatively, but I much rather have declaratively now, no matter how small. And enabling docker on NixOS is just a virtualisation.docker.enable = true;
anyway.
Tell me about it.
“It’s an older meme, Sir. But it checks out!”
I believe there is a much larger, silent majority of nix users, contributors and enthusiasts that are not affected by this drama. Here’s a post that resonates with me: https://nrd.sh/blog/nixos-policy-breakdown/
Over 20 years in this technology space, I’ve come to recognize software built on very solid foundational concepts. Nix is one of those. It’s not going anywhere and neither is NixOS. I encourage anyone interested in Nix to read Eelco Dolstra’s thesis: https://edolstra.github.io/pubs/phd-thesis.pdf
I’m on Hetzner too. You’re right, it is a bit of a hassle. I wish they’d just include a native image into the interface. I use infect and it works quite seamless though https://github.com/elitak/nixos-infect?tab=readme-ov-file#hetzner-cloud