mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
meta/ports: Rename list options
This commit is contained in:
parent
250e2ea3d0
commit
3fd0e85151
24 changed files with 29 additions and 29 deletions
|
|
@ -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;
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue