new interface name

This commit is contained in:
Grigory Shipunov 2023-07-11 23:19:42 +02:00
parent a795acfabc
commit 90f8d1d752
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 2 additions and 4 deletions

View file

@ -16,8 +16,6 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking = { networking = {
useDHCP = true;
interfaces.enp1s0.useDHCP = true;
hostName = "dishwasher"; # Define your hostname. hostName = "dishwasher"; # Define your hostname.
useNetworkd = true; useNetworkd = true;
firewall.enable = true; firewall.enable = true;
@ -37,7 +35,7 @@
networks."ether" = { networks."ether" = {
matchConfig = { matchConfig = {
Name = "enp1s0"; Name = "enp53s0";
}; };
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";

View file

@ -48,7 +48,7 @@
networking.nat = { networking.nat = {
enable = true; enable = true;
enableIPv6 = true; enableIPv6 = true;
externalInterface = "enp1s0"; externalInterface = "enp53s0";
internalInterfaces = [ "microvm-bridge" ]; internalInterfaces = [ "microvm-bridge" ];
}; };