treewide: machine -> nodes.machine

This commit is contained in:
Robert Hensing
2022-03-21 00:15:30 +01:00
parent ecbf5ae27a
commit aa0f27abb0
233 changed files with 261 additions and 261 deletions

View File

@@ -16,7 +16,7 @@ in pkgs.lib.listToAttrs (builtins.map ({ predictable, withNetworkd }: {
name = "${if predictable then "" else "un"}predictableInterfaceNames${if withNetworkd then "-with-networkd" else ""}";
meta = {};
machine = { lib, ... }: {
nodes.machine = { lib, ... }: {
networking.usePredictableInterfaceNames = lib.mkForce predictable;
networking.useNetworkd = withNetworkd;
networking.dhcpcd.enable = !withNetworkd;