diff options
| author | Grigory Shipunov | 2023-07-11 23:19:42 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2023-07-11 23:19:42 +0200 |
| commit | 90f8d1d7524eb6cdd6710dc0138524113a2a02bf (patch) | |
| tree | ee4f5e7be7832e4389d102e5c37c73ed0f6a214c | |
| parent | a795acfabc3c8aae287ddd809e4edc84fb8cf84b (diff) | |
new interface name
| -rw-r--r-- | hosts/dishwasher/configuration.nix | 4 | ||||
| -rw-r--r-- | hosts/dishwasher/mcvm-network.nix | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/hosts/dishwasher/configuration.nix b/hosts/dishwasher/configuration.nix index 8236101..2f8fad0 100644 --- a/hosts/dishwasher/configuration.nix +++ b/hosts/dishwasher/configuration.nix @@ -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"; diff --git a/hosts/dishwasher/mcvm-network.nix b/hosts/dishwasher/mcvm-network.nix index b471c2e..a45699a 100644 --- a/hosts/dishwasher/mcvm-network.nix +++ b/hosts/dishwasher/mcvm-network.nix @@ -48,7 +48,7 @@ networking.nat = { enable = true; enableIPv6 = true; - externalInterface = "enp1s0"; + externalInterface = "enp53s0"; internalInterfaces = [ "microvm-bridge" ]; }; |
