meta/ports: Rename list options

This commit is contained in:
SebastianStork 2025-11-11 13:23:58 +01:00
parent 250e2ea3d0
commit 3fd0e85151
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI
24 changed files with 29 additions and 29 deletions

View file

@ -82,7 +82,7 @@ in
message = "Each caddy virtual host must set exactly one of `port` or `files`";
};
meta.ports.tcp.list = [ cfg.metricsPort ];
meta.ports.tcp = [ cfg.metricsPort ];
services.caddy = {
enable = true;
@ -99,7 +99,7 @@ in
}
(lib.mkIf publicHostsExist {
meta.ports.tcp.list = webPorts;
meta.ports.tcp = webPorts;
networking.firewall.allowedTCPPorts = webPorts;
})