nixpkgs/nixos/modules
Florian Klink 32fd88726b nixos/virtualbox: fix systemd-networkd-wait-online.service waiting for vboxnet0
While switching NixOS configurations with both

networking.useNetworkd = true;
virtualisation.virtualbox.host.enable;

You often end up waiting for systemd-networkd-wait-online.service.

This happens because the vboxnet0 device doesn't have a carrier until
virtualbox machines are started, so networkd gets stuck in
"Configuring":

⇒  networkctl list
IDX LINK          TYPE      OPERATIONAL SETUP
  1 lo            loopback  carrier     unmanaged
  2 wlp2s0        wlan      routable    unmanaged
  3 vboxnet0      ether     no-carrier  configuring

This updates the NixOS virtualbox host module to include a
RequiredForOnline=no statement in the generated 40-vboxnet0.network
file, so networkd doesn't consider it necessary for
systemd-networkd-wait-online.service to finish.
2019-10-26 00:45:42 +02:00
..
config Revert "Merge pull request #71095 from flokli/pinentry-cleanup" 2019-10-16 20:28:21 -04:00
hardware nixos/steam-hardware: add uinput to boot.kernelModules 2019-10-06 11:34:54 +09:00
i18n/input-method Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
installer nixos-rebuild: support sudo + --target-host 2019-10-22 20:44:25 +02:00
misc locate.nix: Don't create /var/cache 2019-10-08 21:45:42 +02:00
profiles Revert "Merge pull request #71095 from flokli/pinentry-cleanup" 2019-10-16 20:28:21 -04:00
programs nixos/seahorse: use seahorse's askpass by default 2019-10-21 18:01:15 +02:00
security Merge pull request #67748 from typetetris/yubico-local-auth 2019-09-24 03:31:39 +01:00
services Merge pull request #71461 from etu/lidarr-specify-datadir-option 2019-10-22 05:07:49 -04:00
system nixos/plymouth: do not order plymouth-quit after display-manager 2019-10-14 13:08:51 +02:00
tasks nixos/network: remove 99-main.network 2019-10-23 11:39:27 +02:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation nixos/virtualbox: fix systemd-networkd-wait-online.service waiting for vboxnet0 2019-10-26 00:45:42 +02:00
module-list.nix nixos/pppd: init 2019-10-15 08:36:09 -07:00
rename.nix Revive systemd.coredump.enable 2019-10-07 20:28:13 +02:00