From d3f6434579594de30cf1ff560f5673d8d84b058c Mon Sep 17 00:00:00 2001 From: Tomasz Kontusz Date: Sat, 7 Nov 2015 14:07:11 +0100 Subject: virtualbox service: hide vboxnet0 from NetworkManager, fixes #10862 --- nixos/modules/virtualisation/virtualbox-host.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos') diff --git a/nixos/modules/virtualisation/virtualbox-host.nix b/nixos/modules/virtualisation/virtualbox-host.nix index 00486df5c4ba..5fb472ebfc32 100644 --- a/nixos/modules/virtualisation/virtualbox-host.nix +++ b/nixos/modules/virtualisation/virtualbox-host.nix @@ -111,5 +111,8 @@ in }; networking.interfaces.vboxnet0.ip4 = [ { address = "192.168.56.1"; prefixLength = 24; } ]; + # Make sure NetworkManager won't assume this interface being up + # means we have internet access. + networking.networkmanager.unmanaged = ["vboxnet0"]; })]); } -- cgit 1.4.1