Update flake.

This commit is contained in:
2023-07-05 17:53:54 +01:00
parent 8b03311a19
commit 7075c1c99b

12
hosts/common/consul.nix Normal file
View 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 ];
};
}