Skip to content

Commit

Permalink
Virtualbox: Fix type error in `networking.interfaces.vboxnet0.ipv4.ad…
Browse files Browse the repository at this point in the history
…dresses`

This error introduced in e239c1e
prevented evaluation on my machine.
  • Loading branch information
the-kenny committed Feb 19, 2018
1 parent d2919c9 commit 2cafea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/virtualbox-host.nix
Expand Up @@ -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"];
Expand Down

0 comments on commit 2cafea2

Please sign in to comment.