diff --git a/utils.nix b/utils.nix index 2caabb1..ee82c34 100644 --- a/utils.nix +++ b/utils.nix @@ -213,14 +213,23 @@ in { (typeString (mkMandatory "proto")) (typeString (mkOptional "ipaddr")) (typeString (mkOptional "netmask")) + (typeString (mkOptional "gateway")) + (typeString (mkOptional "broadcast")) + (typeString (mkOptional "ip6addr")) + (typeString (mkOptional "ip6gw")) (typeInt (mkOptional "ip6assign")) + (typeList (mkOptional "dns")) + (typeInt (mkOptional "layer")) ]) (mkSections "globals" config.network [ (typeString (mkOptional "ula_prefix")) + (typeBool (mkOptional "packet_steering")) ]) (mkSectionsList "device" config.network [ (typeString (mkMandatory "name")) + (typeString (mkOptional "macaddr")) (typeString (mkOptional "type")) + (typeString (mkOptional "ifname")) (typeList (mkOptional "ports")) ]) ];