|
|
|
|
|
by duijf
1891 days ago
|
|
> Also, regarding DevOps, the tooling around Nix makes it a little brittle for anything event based--rapidly changing configurations on the fly due to network conditions (Consul, Ansible, etc). This is where configuration management is heading, and due to the static nature of Nix, delegating dynamic changes is hard/anti pattern. Channable uses Consul, Vault, etc. for dynamic configuration and it works with Nix just fine. You don't have to use static configuration files with Nix. Either fetch dynamic stuff using the Consul, Vault, etc. APIs at runtime or use a tool like vaultenv [1] or similar if you don't want this logic in your application code. Put those tools in your systemd service before launching your app, and you're good to go. (NB: I was DevOps teamlead at Channable while a part of this work was being done. Sad that I haven't seen the final picture. I imagine it's lovely compared to what we had before) [1]: https://github.com/channable/vaultenv |
|