Removed default gateway in workstation network config

This commit is contained in:
2025-11-11 09:09:18 +01:00
parent 2a7669dd1c
commit c4d084c7c1

View File

@@ -3,7 +3,7 @@
networking.networkmanager.enable = true;
networking.firewall.allowedUDPPorts = [ 8000 23 ];
networking.firewall.allowedTCPPorts = [ 8000 23 ];
networking.useDHCP = false;
networking.useDHCP = true;
# networking.bridges = {
# "br0" = {
# interfaces = [ "eno1" ];
@@ -13,8 +13,5 @@
# address = "192.168.1.235";
# prefixLength = 24;
# }];
networking.defaultGateway = "192.168.1.1";
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
}