disable wait-online
This commit is contained in:
parent
c549159d10
commit
f68a64f966
|
@ -19,6 +19,11 @@
|
|||
networking.useNetworkd = true;
|
||||
systemd.network.enable = true;
|
||||
|
||||
# The notion of "online" is a broken concept
|
||||
# https://github.com/nix-community/srvos/blob/main/nixos/common/networking.nix
|
||||
systemd.services.NetworkManager-wait-online.enable = false;
|
||||
systemd.network.wait-online.enable = false;
|
||||
|
||||
# systemd-resolved provides DNS resolution to local applications through
|
||||
# D-Bus, NSS, and a local stub resolver on 127.0.0.53. It implements caching
|
||||
# and DNSSEC validation. We configure it to only, and always, use
|
||||
|
|
|
@ -22,12 +22,4 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
# systemd-networkd-wait-online can timeout and fail if there are no network
|
||||
# interfaces available for it to manage. When systemd-networkd is enabled but
|
||||
# a different service is responsible for managing the system's internet
|
||||
# connection (for example, NetworkManager), this service is unnecessary and
|
||||
# can be disabled.
|
||||
# https://search.nixos.org/options?channel=24.05&show=systemd.network.wait-online.enable
|
||||
systemd.network.wait-online.enable = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue