2 ms·
I heard about NixOS years ago and thought that an “immutable” Linux dist is an intriguing idea. Game changer if it actually works in practice. But I never prope
by fnordsensei 5y ago
I heard about NixOS years ago and thought that an “immutable” Linux dist is an intriguing idea. Game changer if it actually works in practice. But I never properly experimented with it.
Are there any good learning resources for using NixOS in an “infrastructure as code” scenario, or should I just RTFM?
- nh2 5y agoYes, you should read the manuals and try it out, given how easy and cheap it is to play around with smaller-instance cloud servers. I also started writing a tutorial series for practitioners you can check out: https://github.com/nh2/nixops-tutorial https://github.com/nh2/nixops-tutorial I've only written 2 tutorials in there so far doing basic things. In the future and as time permits, I'd like to write about how my org implemented various tasks with NixOps, such as rolling deployments, highly available database setups with automatic fallbacks, distributed file systems, how you can patch any software in your stack, how to write reliable systemd services with correct dependencies, and so on.