2023-12-19 00:28:59 +01:00
|
|
|
{lib, pkgs, config, ...}: {
|
2023-08-25 13:52:03 +02:00
|
|
|
# Enable networking with NetworkManager
|
2023-07-12 16:43:21 +02:00
|
|
|
|
2023-07-12 13:52:15 +02:00
|
|
|
networking = {
|
|
|
|
networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
2023-12-19 00:28:59 +01:00
|
|
|
useDHCP = lib.mkDefault true;
|
2024-03-20 14:59:42 +01:00
|
|
|
enableIPv6 = lib.mkForce false;
|
2023-07-12 13:52:15 +02:00
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ ];
|
|
|
|
allowedUDPPorts = [ ];
|
|
|
|
};
|
|
|
|
};
|
2024-03-20 14:59:42 +01:00
|
|
|
}
|