diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index c4ae827..d7c2630 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -36,11 +36,11 @@ }; }; - # Configuration for the second interface (e.g., enp2s0) - systemd.network.networks."20-wan" = { - matchConfig.Name = "enp2s0"; # Adjust to your second network interface name + systemd.network.networks."20-eno2np1" = { + matchConfig.Name = "eno2np1"; networkConfig = { - DHCP = "ipv4"; # Enable DHCP for this interface + Address = "192.168.42.144/24"; + Gateway = "192.168.42.1"; # Replace with your actual gateway }; };