feat: add options for ipv4 and ipv6
This commit is contained in:
parent
7021603e4e
commit
45a60ff746
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue