new interface name
This commit is contained in:
parent
a795acfabc
commit
90f8d1d752
2 changed files with 2 additions and 4 deletions
|
@ -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";
|
||||||
|
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue