services.consul.leaveOnStop
If enabled, causes a leave action to be sent when closing consul. This allows a clean termination of the node, but permanently removes it from the cluster. You probably don't want this option unless you are running a node which going offline in a permanent / semi-permanent fashion.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/services/networking/consul.nix>