default firewall zones in gateway profile
This commit is contained in:
parent
7f17125039
commit
3f889c7119
@ -69,10 +69,6 @@ in rec {
|
||||
firewall = {
|
||||
enable = true;
|
||||
rules = secrets.firewallRules;
|
||||
zones = {
|
||||
lan = [ config.services.int ];
|
||||
wan = [ config.services.wan ] ;
|
||||
};
|
||||
};
|
||||
wireless.networks = {
|
||||
# EDIT: if you have more or fewer wireless radios, here is where
|
||||
|
@ -50,6 +50,10 @@ in {
|
||||
rules = mkOption { type = types.attrsOf types.attrs; };
|
||||
zones = mkOption {
|
||||
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