default firewall zones in gateway profile
This commit is contained in:
parent
7f17125039
commit
3f889c7119
@ -69,10 +69,6 @@ in rec {
|
|||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
rules = secrets.firewallRules;
|
rules = secrets.firewallRules;
|
||||||
zones = {
|
|
||||||
lan = [ config.services.int ];
|
|
||||||
wan = [ config.services.wan ] ;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
wireless.networks = {
|
wireless.networks = {
|
||||||
# EDIT: if you have more or fewer wireless radios, here is where
|
# EDIT: if you have more or fewer wireless radios, here is where
|
||||||
|
@ -50,6 +50,10 @@ in {
|
|||||||
rules = mkOption { type = types.attrsOf types.attrs; };
|
rules = mkOption { type = types.attrsOf types.attrs; };
|
||||||
zones = mkOption {
|
zones = mkOption {
|
||||||
type = types.attrsOf (types.listOf liminix.lib.types.service);
|
type = types.attrsOf (types.listOf liminix.lib.types.service);
|
||||||
|
default = {
|
||||||
|
lan = [ config.services.int ];
|
||||||
|
wan = [ config.services.wan ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user