From 41258f44bd4289a4d9a27a2d06aff41f845c6ff9 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 14 Feb 2026 22:24:15 +0100 Subject: [PATCH] add reverse option to module --- nix/module.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/module.nix b/nix/module.nix index 064283b..dd28b57 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -45,6 +45,11 @@ in { type = types.oneOf [types.port types.str]; description = "target port or address inside the namespace"; }; + reverse = mkOption { + type = types.bool; + default = false; + description = "forward from inside the namespace to outside instead"; + }; }; })); description = "ports to forward into the namespace";