Turn networking.interfaces into an attribute set
Thus
networking.interfaces = [ { name = "eth0"; ipAddress = "192.168.15.1"; } ];
can now be written as
networking.interfaces.eth0.ipAddress = "192.168.15.1";
The old notation still works though.
This commit is contained in:
@@ -13,7 +13,7 @@ with pkgs.lib;
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "sshd.service" ];
|
||||
after = [ "dhcpcd.service" ];
|
||||
after = [ "network.target" ];
|
||||
|
||||
path = [ pkgs.curl pkgs.iproute ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user