Added bug fix for networking service failure

This commit is contained in:
Random936 2024-11-03 20:47:11 -08:00
parent 45dc1cfe52
commit 6f6d84b21a

View File

@ -1,4 +1,4 @@
{ ip_address, hostname, open_ports }:
{ ip_address, hostname }:
{
# Configure hostname.
networking.hostName = hostname;
@ -8,7 +8,7 @@
networking.useNetworkd= true;
# Bug fix
systemd.services.NetworkManager-wait-online.enable = false;
systemd.services.systemd-networkd-wait-online.enable = false;
networking.defaultGateway = {
address = ip_address;