nix/nixos/common/modules/networking.nix

17 lines
293 B
Nix
Raw Normal View History

2023-08-23 12:12:29 +02:00
{pkgs, config, ...}: {
2023-08-25 13:52:03 +02:00
# Enable networking with NetworkManager
2023-07-12 16:43:21 +02:00
networking = {
networkmanager = {
enable = true;
};
2023-12-19 00:27:00 +01:00
useDHCP = true;
enableIPv6 = false;
firewall = {
enable = true;
allowedTCPPorts = [ ];
allowedUDPPorts = [ ];
};
};
}