> It certainly is causing more pain than it's solving.
My middle ground approach has been to use containers and fall back to a more traditional Linux approach within those containers when I don’t want to be bothered (or just don’t need) to figure out the Nix Way.
If it’s something that’s core to my daily setup, I’ll still invest the time to bake it into my NixOS config, but using fallbacks like this has been a good middle ground for me that allows me to take advantage of the best parts of NixOS without adding undue pain when spinning up experiments.
Even running containers is a Nix adventure in NixOS. Who needs docker-build when you have pkgs.dockerTools? Who needs docker-run when you have config.containers? Wait, you can also use nixos-container CLI, or embed your container in a systemd process. And so on. It never ends.
I use nixOS, do a ton of container development, and have never had issues or been confused about containers? I have two lines that enable docker in my nix config:
Since then, docker's been completely seamless. How far into kubernetes have you gone before? I'm a little confused about what you mean by "Install kubernetes". I used to use minikube but now use k3d, and those were both just packages available in nixpkgs. K8s (especially local k8s) is kind of hard to wrap your head around, but not because of NixOS
My middle ground approach has been to use containers and fall back to a more traditional Linux approach within those containers when I don’t want to be bothered (or just don’t need) to figure out the Nix Way.
If it’s something that’s core to my daily setup, I’ll still invest the time to bake it into my NixOS config, but using fallbacks like this has been a good middle ground for me that allows me to take advantage of the best parts of NixOS without adding undue pain when spinning up experiments.