Add formatter & reformat.

This commit is contained in:
2024-09-13 13:38:15 +01:00
parent 20212556e5
commit 457efb9bb6
29 changed files with 363 additions and 205 deletions

View File

@@ -1,6 +1,10 @@
{ pkgs, config, ... }:
let
servers = [ "c1" "c2" "c3" ];
servers = [
"c1"
"c2"
"c3"
];
server_enabled = builtins.elem config.networking.hostName servers;
in
{
@@ -21,12 +25,20 @@ in
};
};
environment.persistence."/persist".directories = [
"/var/lib/consul"
];
environment.persistence."/persist".directories = [ "/var/lib/consul" ];
networking.firewall = {
allowedTCPPorts = [ 8600 8500 8301 8302 8300 ];
allowedUDPPorts = [ 8600 8301 8302 ];
allowedTCPPorts = [
8600
8500
8301
8302
8300
];
allowedUDPPorts = [
8600
8301
8302
];
};
}