anchor.diff:      (assertValueOneOf "EmitNTP" boolValues)
       (assertValueOneOf "EmitTimezone" boolValues)
     ];
  +
  +  # .network files have a [Link] section with different options than in .netlink files
  +  checkNetworkLink = checkUnitConfig "Link" [
  +    (assertOnlyFields [
  +      "MACAddress" "MTUBytes" "ARP" "Unmanaged"
  +    ])
  +    (assertMacAddress "MACAddress")
  +    (assertByteFormat "MTUBytes")
  +    (assertValueOneOf "ARP" boolValues)
  +    (assertValueOneOf "Unmanaged" boolValues)
  +  ];
  +
   
     commonNetworkOptions = {
   
  
positive.code:       '';
      };
  
      name = mkOption {
        type = types.nullOr types.str;
        default = null;
  
negative.code:     { inherit (def) enable;
        text = commonMatchText def +
          ''
            ${optionalString (def.linkConfig != { }) ''
              [Link]
              ${attrsToSection def.linkConfig}
  
            ''}
  
            [Network]
            ${attrsToSection def.networkConfig}
            ${concatStringsSep "\n" (map (s: "Address=${s}") def.address)}
  