initial config
This commit is contained in:
13
modules/system/firewall.nix
Normal file
13
modules/system/firewall.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
# ==========================================
|
||||
# FIREWALL CONFIGURATION
|
||||
# ==========================================
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# UFW-style firewall — deny all inbound by default
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ ];
|
||||
allowedUDPPorts = [ ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user