Virtualbox: Fix type error in networking.interfaces.vboxnet0.ipv4.addresses

This error introduced in e239c1e582
prevented evaluation on my machine.
This commit is contained in:
Moritz Ulrich 2018-02-19 17:48:15 +01:00
parent d2919c996d
commit 2cafea200c

View File

@ -124,7 +124,7 @@ in
'';
};
networking.interfaces.vboxnet0.ipv4.addresses = { address = "192.168.56.1"; prefixLength = 24; };
networking.interfaces.vboxnet0.ipv4.addresses = [{ 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"];