Make config.machine.firewall an alias of networking.firewall.
This commit is contained in:
parent
5d017ce18f
commit
be5ef36567
6 changed files with 6 additions and 50 deletions
|
@ -5,14 +5,5 @@ let
|
|||
in {
|
||||
networking = {
|
||||
hostName = config.machine.hostName;
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = firewallcfg.allowPing;
|
||||
allowedUDPPorts = firewallcfg.allowedUDPPorts;
|
||||
allowedTCPPorts = firewallcfg.allowedTCPPorts;
|
||||
allowedUDPPortRanges = firewallcfg.allowedUDPPortRanges;
|
||||
allowedTCPPortRanges = firewallcfg.allowedTCPPortRanges;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue