refactor: collapsed objects for networking.firewall in blocky config
This commit is contained in:
parent
47d663ae5b
commit
c8972d8d36
1 changed files with 4 additions and 2 deletions
|
|
@ -132,7 +132,9 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [port];
|
||||
networking.firewall.allowedUDPPorts = [port];
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [port];
|
||||
allowedUDPPorts = [port];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue