Update network.nix

- Change network adapter
This commit is contained in:
Sebastian Heiden 2023-04-23 18:15:13 +02:00 committed by GitHub
parent b1b8dcd024
commit c54c7382e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ in
hostId = "a71c81fc"; hostId = "a71c81fc";
enableIPv6 = true; enableIPv6 = true;
useDHCP = true; useDHCP = true;
interfaces.enp65s0f0np0.useDHCP = true; interfaces.ens18.useDHCP = true;
useNetworkd = true; useNetworkd = true;
firewall.allowedUDPPorts = [ wireguard_port ]; firewall.allowedUDPPorts = [ wireguard_port ];
@ -37,7 +37,7 @@ in
# Interfaces on the machine # Interfaces on the machine
networks."10-ether-bond" = { networks."10-ether-bond" = {
matchConfig.Name = "enp65s0f0np0"; matchConfig.Name = "ens18";
address = [ "141.30.30.169/25" ]; address = [ "141.30.30.169/25" ];
routes = [ routes = [