Update flake.
This commit is contained in:
12
hosts/common/consul.nix
Normal file
12
hosts/common/consul.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ pkgs, config, ... }:
|
||||||
|
{
|
||||||
|
services.consul.enable = true;
|
||||||
|
|
||||||
|
environment.persistence."/persist".directories = [
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [ 8600 8500 8301 8302 8300 ];
|
||||||
|
allowedUDPPorts = [ 8600 8301 8302 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user