Merge pull request #72000 from flokli/virtualbox-vboxnet0-systemd-networkd-wait-online-service

nixos/virtualbox: fix systemd-networkd-wait-online.service waiting for vboxnet0
This commit is contained in:
Franz Pletz 2019-10-26 13:01:47 +00:00 committed by GitHub
commit a8fccf2172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,5 +149,12 @@ in
# Make sure NetworkManager won't assume this interface being up
# means we have internet access.
networking.networkmanager.unmanaged = ["vboxnet0"];
})]);
}) (mkIf config.networking.useNetworkd {
systemd.network.networks."40-vboxnet0".extraConfig = ''
[Link]
RequiredForOnline=no
'';
})
]);
}