feat(nixos): add Palworld Tracion guest
This commit was merged in pull request #39.
This commit is contained in:
1 parent
8bd9ff166e
commit
9e7469796d
9 files changed
+525
-17
No files matched your search
@@ -59,6 +59,12 @@
|
||||
default = [ ];
|
||||
description = "UDP ports opened for the game service.";
|
||||
};
|
||||
|
||||
tcpPorts = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.port;
|
||||
default = [ ];
|
||||
description = "TCP ports opened for the game service.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
@@ -159,6 +165,7 @@
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = service.udpPorts;
|
||||
networking.firewall.allowedTCPPorts = service.tcpPorts;
|
||||
}
|
||||
))
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user