Added bug fix for networking service failure
This commit is contained in:
parent
45dc1cfe52
commit
6f6d84b21a
@ -1,4 +1,4 @@
|
|||||||
{ ip_address, hostname, open_ports }:
|
{ ip_address, hostname }:
|
||||||
{
|
{
|
||||||
# Configure hostname.
|
# Configure hostname.
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
@ -8,7 +8,7 @@
|
|||||||
networking.useNetworkd= true;
|
networking.useNetworkd= true;
|
||||||
|
|
||||||
# Bug fix
|
# Bug fix
|
||||||
systemd.services.NetworkManager-wait-online.enable = false;
|
systemd.services.systemd-networkd-wait-online.enable = false;
|
||||||
|
|
||||||
networking.defaultGateway = {
|
networking.defaultGateway = {
|
||||||
address = ip_address;
|
address = ip_address;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user