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

12 lines
226 B
Nix
Raw Normal View History

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