nixos/immersed: openPorts -> openFirewall (#538582)

This commit is contained in:
Ryan Hendrickson 2026-07-05 06:19:51 +00:00 committed by GitHub
commit 669ebda586
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ in
programs.immersed = {
enable = lib.mkEnableOption "immersed";
openPorts = lib.mkOption {
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to open firewall ports for Immersed";
@ -51,7 +51,7 @@ in
environment.systemPackages = [ cfg.package ];
# https://immersed.helpscoutdocs.com/article/23-connection-troubleshooting-linux
networking.firewall = lib.mkIf cfg.openPorts {
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 21000 ];
allowedUDPPorts = [
21000