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;
networking = {
useDHCP = true;
interfaces.enp1s0.useDHCP = true;
hostName = "dishwasher"; # Define your hostname.
useNetworkd = true;
firewall.enable = true;
@ -37,7 +35,7 @@
networks."ether" = {
matchConfig = {
Name = "enp1s0";
Name = "enp53s0";
};
networkConfig = {
DHCP = "yes";

View file

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