For the past two years I have run all my services (docker containers) on Ubuntu LXC’s on a Proxmox host, and had no issues. However, I am now starting to think about reproducibility, and creating some IaC for my homelab.
On this IaC quest I have started thinking about moving my Ubuntu instances to NixOS, as the declarative nature of the OS would help with configuring and re-configuring containers. However, I want to hear some experiences and opinions on using NixOS.
Has anyone used such a setup, and if so, what are the benefits or downsides?
Using nixos in proxmox for maybr a year and i am very happy with it. I even keep the config also in the notes of the lxc for simple lookups and peeking 🙈
That’s a pretty neat idea! I’ve been looking for a use for container notes so that’s one thing I can use it for :p
great, perfect imo
NixOS in LXC works great, although I switched to bare metal NixOS a few months ago. I didn’t see the need for proxmox as it hindered my ability of declaring the whole system.
Creating NixOS LXC’s is a bit of a pita. Some links that helped me two years ago:
Thanks for the links! Could you elaborate on why you switched to bare metal? Just curious.