materusPC: update settings

This commit is contained in:
2023-07-21 00:05:29 +02:00
parent daabe129cc
commit 6cee44c2f8
2 changed files with 14 additions and 4 deletions
+4 -3
View File
@@ -2,11 +2,12 @@
{
networking.useDHCP = lib.mkDefault true;
networking.hostName = "materusPC";
networking.wireless.iwd.enable = true;
networking.networkmanager.enable = true;
networking.networkmanager.wifi.backend = "iwd";
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656 ];
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656 ];
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656 8080 ];
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656 6000 ];
#Fix warning
networking.networkmanager.extraConfig = lib.mkDefault ''
[connectivity]