11 ms·
This already sort-of exists in the form of Nix/NixOS/NixOps. Entire system configuration is deterministic and is specified in a configuration file, and it has i
by Qasaur 7y ago
This already sort-of exists in the form of Nix/NixOS/NixOps. Entire system configuration is deterministic and is specified in a configuration file, and it has its own little functional DSL called Nix that is used to specify system configs and how to build software packages.
Just started using it and I think it's probably one of the best software ensembles I've ever used in my career. Completely knocks Docker, K8S etc. out of the water.
- nh2 7y agoYes, the Nix ecosystem makes running both servers and services much easier than any other tools I have used. I describe the deployment I run with it here: https://news.ycombinator.com/item?id=21468506 https://news.ycombinator.com/item?id=21468506 Nix is not typed (it would be slightly better if it were), but everything is evaluated before it hits your servers which allows for lots of static checks. I started writing a tutorial on NixOps here if you want to learn it: https://github.com/nh2/nixops-tutorial https://github.com/nh2/nixops-tutorial (only has 1 part so far, I'd like to show how to bootstrap a Consul cluster and distributed file system next).