after using nixos for a couple years now im not convinced that nix modules are the correct solution for infra deployment.
why are we throwing out all of the work done by upstream maintainers on e.g. docker compose?
why are we not using containers in general?
The conclusion im arriving at is that i will probably:
- Use nix for packaging (what its best at)
- Use nixos for the base
- Setup k3s using nixos
- In cases where i dont want the complexity of Kubernetes use docker compose from upstream
Regarding the complexity of Kubernetes:
This is also widely overstated on every social platform.
If you have a little knowledge and are careful to not pull in too many dependencies Kubernetes can be pretty simple and make your life super easy