1
0

default firewall zones in gateway profile

This commit is contained in:
Daniel Barlow 2025-02-10 21:16:20 +00:00
parent 7f17125039
commit 3f889c7119
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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 ];
};
};
};