Disable network wait-online
It keeps delaying the nixos rebuild unnecessarily. Apparently this should be disabled when you use Network Manager for networking. https://discourse.nixos.org/t/systemd-networkd-wait-online-934764-timeout-occurred-while-waiting-for-network-connectivity/33656/6
This commit is contained in:
parent
ad3adb8db2
commit
bc74c3e1eb
|
@ -167,8 +167,6 @@
|
|||
|
||||
# Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
|
||||
systemd.network.enable = true;
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 5353 50007 ];
|
||||
networking.firewall.allowedUDPPorts = [ 5353 50007 ];
|
||||
|
@ -183,6 +181,9 @@
|
|||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
systemd.network.enable = true;
|
||||
systemd.network.wait-online.enable = false;
|
||||
|
||||
virtualisation.docker.enable = false;
|
||||
virtualisation.podman.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue