This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
nil/modules/system/networking.nix

11 lines
196 B
Nix
Raw Normal View History

2022-08-14 03:31:41 +00:00
{ config, lib, pkgs, ... }: {
networking = {
firewall = {
enable = true;
allowedTCPPorts = [ 443 80 ];
allowedUDPPorts = [ 443 80 ];
allowPing = false;
};
};
}