feat: add options for ipv4 and ipv6
This commit is contained in:
@@ -119,6 +119,16 @@ in {
|
|||||||
default = true;
|
default = true;
|
||||||
description = "Enable firewall";
|
description = "Enable firewall";
|
||||||
};
|
};
|
||||||
|
ipv4 = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable firewall";
|
||||||
|
};
|
||||||
|
ipv6 = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Enable firewall";
|
||||||
|
};
|
||||||
interfaces = {
|
interfaces = {
|
||||||
wan = lib.mkOption {
|
wan = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
|||||||
Reference in New Issue
Block a user