I wonder if something like that for nix would help you.
E.g. have the nix config in consul; and have the local daemon `watch` the consul config (And services) and build and acitvate the nix thing every time the consul config changes.
Could maybe even do automatic rollbacks based on consul health checks.
https://www.hashicorp.com/blog/announcing-consul-terraform-s...
I wonder if something like that for nix would help you.
E.g. have the nix config in consul; and have the local daemon `watch` the consul config (And services) and build and acitvate the nix thing every time the consul config changes.
Could maybe even do automatic rollbacks based on consul health checks.
I think it could work pretty well!