moved security module to dns module and multiple submodules
This commit is contained in:
parent
34d472ffc8
commit
6e01e14b33
8 changed files with 43 additions and 34 deletions
9
modules/security/firewall.nix
Normal file
9
modules/security/firewall.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
# Deny all, specific modules may open things
|
||||
networking.nftables.enable = true;
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ ];
|
||||
allowedUDPPorts = [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue