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
2022-08-14 17:22:17 -04:00

12 lines
226 B
Nix

{ config, lib, pkgs, ... }: {
programs.mtr.enable = true;
networking = {
firewall = {
enable = true;
allowedTCPPorts = [ 443 80 ];
allowedUDPPorts = [ 443 80 ];
allowPing = false;
};
};
}