mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
12 lines
292 B
Nix
12 lines
292 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
# Firewall
|
||
|
networking.firewall.enable = true;
|
||
|
# Open ports in the firewall.
|
||
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||
|
# Or disable the firewall altogether.
|
||
|
# networking.firewall.enable = false;
|
||
|
}
|