nixos/immersed: openPorts -> openFirewall

The PR that added this is only a few hours old (https://github.com/NixOS/nixpkgs/pull/399766) and hasn't had the chance to enter an unstable released, which is why I haven't added a rename flag.
This commit is contained in:
Gavin John
2026-07-05 01:13:47 -04:00
committed by GitHub
parent 93368df3b0
commit b76bf041c7
+2 -2
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