13 lines
245 B
Nix
13 lines
245 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.consul.enable = true;
|
|
|
|
environment.persistence."/persist".directories = [
|
|
];
|
|
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ 8600 8500 8301 8302 8300 ];
|
|
allowedUDPPorts = [ 8600 8301 8302 ];
|
|
};
|
|
}
|