Refactor nixos files relying on the old ipAddress / prefixLength / subnetMask attributes

This commit is contained in:
William A. Kennington III
2014-08-30 07:33:38 -07:00
parent 1ff4b83875
commit 86c0f8c549
6 changed files with 16 additions and 18 deletions
+1 -1
View File
@@ -44,5 +44,5 @@ let virtualbox = config.boot.kernelPackages.virtualbox; in
'';
};
networking.interfaces.vboxnet0 = { ipAddress = "192.168.56.1"; prefixLength = 24; };
networking.interfaces.vboxnet0.ip4 = [ { address = "192.168.56.1"; prefixLength = 24; } ];
}