add reverse option to module

This commit is contained in:
Robin Appelman 2026-02-14 22:24:15 +01:00
commit 41258f44bd

View file

@ -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";