services.consul.leaveOnStop

NixOS option

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 in: nixos/modules/services/networking/consul.nixView source on NixOS/nixpkgs →