2023-10-27 14:01:54 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-10-08 11:42:08 +02:00
|
|
|
{
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
networking.hostName = "materusPC";
|
|
|
|
networking.wireless.iwd.enable = true;
|
|
|
|
networking.networkmanager.enable = true;
|
2023-10-20 23:29:09 +02:00
|
|
|
#networking.networkmanager.wifi.backend = "iwd";
|
2023-10-08 11:42:08 +02:00
|
|
|
networking.firewall.enable = true;
|
2024-03-11 16:19:31 +01:00
|
|
|
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656 8080 9943 9944 ];
|
|
|
|
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656 6000 9943 9944 ];
|
2023-10-08 11:42:08 +02:00
|
|
|
#Fix warning
|
|
|
|
networking.networkmanager.extraConfig = lib.mkDefault ''
|
|
|
|
[connectivity]
|
|
|
|
uri=http://nmcheck.gnome.org/check_network_status.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
|
|
}
|